nextcloud / nextcloud/context_chat

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

Open
#175 0 comments 4 reactions 0 assignees View on GitHub

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

  1. clears the config values related to the stats
  2. clears the queue tables
  3. wipes the context chat backend's vector db
  4. retriggers the filesystem crawl
Describe alternatives you've considered

The manual way:

  1. delete the context_chat php app config
  2. delete the context_chat php app
  3. unregister the context_chat_backend app with the remove data checkbox checked
  4. do the install all over again

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.