Skip to content

Ask the HotKV docs

Answers come only from these docs and can be wrong; check the linked pages before you rely on them.

VSIM.DROPINDEX

Last updated
VSIM.DROPINDEX index
Group
Vector search
Complexity
O(N), N being the vectors in the index
Arity
2 (exactly, counting the command name)
Flags
write, slow
Keys
first 1, last 1, step 1
HotKV Cloud
All plans
On-Premise
no license needed

VSIM.DROPINDEX deletes the vector index index together with every vector stored in it. Keys in the keyspace and their tags are not affected.

Case RESP2 RESP3
Index deleted Simple string OK Simple string OK

Error replies: ERR index 'name' not found.

127.0.0.1:6379> VSIM.CREATEINDEX scratch 4
OK
127.0.0.1:6379> VSIM.DROPINDEX scratch
OK
127.0.0.1:6379> VSIM.DROPINDEX scratch
(error) ERR index 'scratch' not found

HotKV-only command.

VSIM.CREATEINDEX, VSIM.INFO