Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no image files should be provided to fulltextsearch if files_image is set to 0 #283

Open
ferdiga opened this issue Sep 11, 2024 · 0 comments

Comments

@ferdiga
Copy link

ferdiga commented Sep 11, 2024

To my understanding
"files_image":"0"
below should prevent indexing of the image files.

  • Content Providers:
    Deck 1.13.1
    []
    Files 29.0.1
    {
    "files_local": "1",
    "files_external": "2",
    "files_group_folders": "0",
    "files_encrypted": "0",
    "files_federated": "0",
    "files_size": "1",
    "files_pdf": "1",
    "files_office": "1",
    "files_image": "0",
    "files_audio": "0",
    "files_chunk_size": "2",
    "files_fulltextsearch_tesseract": {
    "version": "27.0.0",
    "enabled": "1",
    "psm": "4",
    "lang": "eng,deu,fra",
    "pdf": "1",
    "pdf_limit": "0"
    }

nevertheless
occ -vvv fulltextsearch:index
spends a considerable time (screenshot ~20 seconds) working on image files like this one

┌─ Indexing ────
│ Action: fillDocument
│ Provider: Files Account: christoph
│ Document: 45296825
│ Info: image/png
│ Title: *****/Bildschirmfoto 2018-12-17 um 20.13.49.png

BTW indexing of pdf and office documents is very fast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant