nextcloud / nextcloud/files_fulltextsearch

Deleted files remain in the index

Open
#81 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I have created some test files containing "magicvalue123". These were indexed by FTS and then removed using the web UI. I later added them again to under a different folder (did that twice). The original files are still found as you can see by the number of reported search results (6) whereas only 2 files actually currently are in the file system.

2019-09-26 07 50 12

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

Reproduce the report by indexing test files containing "magicvalue123", deleting them through the web UI, and adding them again under another folder. Trace the full-text search index handling for deletion and reindexing, then verify that search returns only files currently present in the filesystem.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.