Home Explore Blog CI



ragit

docs/commands/ii-reset.txt
17079e1b77766f0ebf9c311f9d190857a577f2aa9ba626870000000300000220
rag-ii-reset(1)
==========

NAME
----
rag-ii-reset - Reset an inverted index
rag-reset-ii - Alias

SYNOPSIS
--------
[verse]
'rag ii-reset'

DESCRIPTION
-----------
It removes an inverted index, if exists.

In most cases, you don't have to run this command. `rag ii-build` is
smart enough to know whether the inverted index is dirty or not. If
it's dirty `ii-build` will silently call `ii-reset`. If you just want
to disable the inverted index, just run `rag config --set enable_ii false`.
It'll disable the inverted index without removing it.

Chunks
9b53c482 (1st chunk of `docs/commands/ii-reset.txt`)
Title: Rag-II-Reset Command
Summary
The rag-ii-reset command is used to remove an existing inverted index, although it's typically not necessary as rag ii-build can automatically handle dirty indexes by silently calling ii-reset, and users can also disable the index without removing it by running rag config --set enable_ii false.