nextcloud / nextcloud/files_fulltextsearch
Indexing for shared external local directory happens repeatedly, once for each user
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 72
- Forks
- 41
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 9
Description
I have a common media (music/films/books etc.) library that I make available via an external local directory to all users (It's read-only, by the by). I notice when carrying out an occ fulltextsearch:index that this library (largish - about 6tb) gets repeatedly indexed each time a users private files are indexed. Seems suboptimal. Is there a way to have such common shared content indexed just the once?
Running Nextcloud Hub 6 (27.1.5) and Full text search - Files 27.0.1.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the occ fulltextsearch:index entry point and trace how external local directories are selected for each user's indexing run. Determine how shared read-only content could be indexed once, then verify that repeated runs do not re-index the same directory while private files continue to be indexed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli, search
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100