nextcloud / nextcloud/fulltextsearch
Allow index by path on CLI
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 234
- Forks
- 64
- Avg merge
- 6h 18m
- Merged PRs (30d)
- 10
Description
Is it possible to implemet a feature to allow indexing on command line by path?
occ fulltextsearch:index will index all files.
Something like
occ fulltextsearch:index --path my/own/path
would be good to quickly index some folders that have a higher priority as other ones.
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 at the occ fulltextsearch:index command entry point and trace how it currently selects files for indexing. Define the expected behavior for --path my/own/path, including whether the path is relative or absolute, then verify that invoking the command indexes only the requested folder while the existing no-argument behavior remains unchanged.
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