nextcloud / nextcloud/files_fulltextsearch

No results for files provider although files have been indexed

Open
#102 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
PHP
Stars
72
Forks
41
Avg merge
1d 3h
Merged PRs (30d)
9

Description

Hello,

I am using Nextcloud 20.0.4 and the apps elastic search and elastic search files are installed.

Indexing seems to work. After running
occ fulltextsearch:document:index markus files 10159

I can get a result from elasticsearch:

get http://localhost:9200/raumteiler_cloud_index/_search?q=<Word in File 10159>

However,

occ fulltextsearch:search markus <Word in File 10159>

only returns

search

Deck

The files provider seems to be ignored.
Same on the UI.

Any idea?

Thanks
Markus

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

Start with the supplied occ fulltextsearch:search command and compare its provider selection with the Elasticsearch query for the indexed document. Reproduce using the reported Nextcloud 20.0.4 setup, then verify that a matching file appears through both the CLI search and the UI.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.