FT.DEBUG
Since 1.1.0Search
Syntax
FT.DEBUGMaintenance of search indexes. See its subcommand, FT.DEBUG COMPACT.
Two more turn parts of an index's machinery off and on again, to compare; they are for diagnosis:
FT.DEBUG POSTINGS <index> ON|OFF: withOFF, TAG and NUMERIC clauses are tried on every document, as before 1.2, rather than read from the index's postings.FT.DEBUG PAGE <index> ON|OFF: withOFF, a TAG or NUMERIC query reads every match, rather than only those of the page it returns.
FT.DEBUG HELP lists the subcommands. Before 1.2, it answered ERR unknown FT.DEBUG subcommand 'HELP'.
> FT.DEBUG POSTINGS products OFF
OK
> FT.DEBUG POSTINGS products ON
OK
> FT.DEBUG HELP
1) "COMPACT"
2) "POSTINGS"
3) "PAGE"
4) "HELP"
Subcommands
- FT.DEBUG COMPACT: Starts a compaction of an HNSW vector field: a rebuild in the background that drops the tombstones of deleted vectors.