Skip to main content

FT.DROPINDEX

Syntax

FT.DROPINDEX index

Time complexity: O(1)

Important: New in Dragonfly v1.13. Currently, Dragonfly Search is in Beta.

Description

Delete an index.

Required arguments

index

is index name. You must first create the index using FT.CREATE.

Return

FT.DROPINDEX returns a simple string reply OK if executed correctly, or an error reply otherwise.

Examples

Delete an index
dragonfly> FT.DROPINDEX idx
OK

See also

FT.CREATE | FT.INFO