nextcloud / nextcloud/fulltextsearch

Content of new files (eg PDF) doesnt get indexed, Nextcloud AiO Docker - fresh Installation

Open
#911 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
PHP
Stars
234
Forks
64
Avg merge
6h 18m
Merged PRs (30d)
10

Description

Hi,

I’m using the Docker-based Nextcloud AIO installation with Elasticsearch and the Fulltextsearch app. After the initial setup, fulltext search—including PDF content indexing—worked as expected. I was able to find both filenames and text content from within PDF files. The settings are configured to index PDF content, and the text inside the PDFs is machine-readable (not just scanned images).

However, after adding new files, I noticed that only the filenames of these new files are indexed and searchable. The actual text content from within new PDFs is not found in search results. Older files (added right after setup) are still fully searchable by content.

To summarize:

  • Initial PDF content indexing worked, including searching inside PDF files.
    
  • For newly added files, only filenames are indexed, not the content.
    
  • Settings for PDF content indexing are unchanged and correct.
    
  • PDFs are machine-readable (not just images).
    
  • No relevant errors are shown in the logs.
    

Is this a known issue? Are there any recommended troubleshooting steps or configuration checks for this situation?

upate: Fulltextsearch in TXT Files does work - not with PDF Files

Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names Nextcloud Fulltextsearch, Elasticsearch, and Docker-based AIO; start by comparing how newly added PDF and TXT files enter content indexing. Check the configured PDF extraction path and relevant logs, then verify that new machine-readable PDF text reaches the index. Done means content from newly added PDFs is searchable, not only their filenames.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, elasticsearch, php
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.