nextcloud / nextcloud/fulltextsearch
Implement `--path` for flexibility to reindex a specific path
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 234
- Forks
- 64
- Avg merge
- 6h 18m
- Merged PRs (30d)
- 10
Description
To come around the memory exhausted issues (e. g. #135 and #185) and to quickly (re-)index a directory, I'd like a --path argument, just like the one in occ files:scan --path='/user/files/documents'.
This way, smaller chunks can be indexed in a consistent (with files:scan) method.
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 by tracing the existing reindex command and compare its argument handling with the occ files:scan --path='/user/files/documents' entry point mentioned in the issue. Done means a --path option can limit indexing to a selected directory, allowing smaller chunks with behavior consistent with files:scan; add or update the relevant command tests once located.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli, search
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100