nextcloud / nextcloud/context_chat
Add a reset command to delete all indexed docs and start the crawl+index again
Open
Nobody has claimed this yet.
enhancement
priority: normal
- Dominant language
- PHP
- Stars
- 29
- Forks
- 12
- Avg merge
- 4d 4h
- Merged PRs (30d)
- 5
Description
Describe the feature you'd like to request
/
Describe the solution you'd like
A reset command that
- clears the config values related to the stats
- clears the queue tables
- wipes the context chat backend's vector db
- retriggers the filesystem crawl
Describe alternatives you've considered
The manual way:
- delete the context_chat php app config
- delete the context_chat php app
- unregister the context_chat_backend app with the remove data checkbox checked
- do the install all over again
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 locating the existing configuration for stats, queue-table handling, context_chat's vector database integration, and the filesystem crawl entry point. Trace how the manual reset steps perform each operation and identify the appropriate command interface. Done means one reset command clears the relevant data and reliably retriggers crawling and indexing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100