VSIM.DROPINDEX
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.
Return value
Section titled “Return value”| Case | RESP2 | RESP3 |
|---|---|---|
| Index deleted | Simple string OK |
Simple string OK |
Error replies: ERR index 'name' not found.
Examples
Section titled “Examples”127.0.0.1:6379> VSIM.CREATEINDEX scratch 4OK127.0.0.1:6379> VSIM.DROPINDEX scratchOK127.0.0.1:6379> VSIM.DROPINDEX scratch(error) ERR index 'scratch' not foundCompatibility
Section titled “Compatibility”HotKV-only command.
See also
Section titled “See also”Was this page helpful?
Thanks for the feedback.