FT.DROPINDEX

Usage:
FT.DROPINDEX index-name
Complexity:
O(N)
Module:
valkey-search
Since module version:
1.0.0
ACL Categories:
@fast, @write, @search

Drop the index created earlier by FT.CREATE command. It is an error if the index doesn't exist.

FT.DROPINDEX <index-name>
  • <index-name> (required): The name of the index to delete.

RESPONSE OK or Error.

RESP2/RESP3 Reply

Simple string reply: OK.