nextcloud / nextcloud/fulltextsearch

Search return only results from filenames

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

Nobody has claimed this yet.

question
Dominant language
PHP
Stars
234
Forks
64
Avg merge
6h 18m
Merged PRs (30d)
10

Description

I'm using following versions:

  • Nextcloud: Nextcloud Hub 3 (25.0.13)
  • Full text search: 25.0.1
  • Full text search - Elasticsearch Platform: 25.0.1
  • Full text search - Files: 25.0.1
  • Full text search - Files - Tesseract OCR: 25.0.0
  • Elasticsearch: 8.11.1

After some errors during first indexing tries, I was able to start a full index:

$ occ fulltextsearch:reset
$ occ fulltextsearch:index "{\"errors\": \"reset\"}"
$ occ fulltextsearch:index

that return no errors, and setup a cron for occ fulltextsearch:live

When I try to search, I only find results that match filename. Nothing about content...
Did I miss some plugins or whatever to scan into simple TXT files (and ODF?).

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 by reviewing the listed Full text search apps, Elasticsearch 8.11.1, and the occ fulltextsearch:reset and fulltextsearch:index commands. Reproduce indexing for simple TXT and ODF files, check the initial indexing errors and configuration, and confirm that searches return content matches rather than only filename matches.

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.