Skip to content

feat: add a full wipe command - #290

Open
kyteinsky wants to merge 5 commits into
mainfrom
feat/full-wipe-command
Open

kyteinsky wants to merge 5 commits into
mainfrom
feat/full-wipe-command

Conversation

@kyteinsky

Copy link
Copy Markdown
Contributor

also, `context_chat:reindex` now also schedules the initial import of content
providers if they have not been initialised

Signed-off-by: kyteinsky <kyteinsky@gmail.com>
Assisted-by: Github Copilot:claude-opus-5-5
when the option --provider is set, the queues or indexing stats are not
touched.

Signed-off-by: kyteinsky <kyteinsky@gmail.com>
hand out no queue items to the backend during a wipe and wait for the ones
it is still indexing, so wiped documents cannot come back, also when
the backend runs on Kubernetes.
The wait can be changed with `occ config:app:set context_chat wipe_drain_timeout --value=<seconds> --type=integer`,
default 600, and skipped with `--ignore-handed-out` when the backend was
stopped while indexing or some queue items are locked for 24h due to
failures.

Signed-off-by: kyteinsky <kyteinsky@gmail.com>
Signed-off-by: kyteinsky <kyteinsky@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI assisted This PR contains AI-assisted commits

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a reset command to delete all indexed docs and start the crawl+index again

2 participants