FT.DROPINDEX

Syntax

  1. 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

  1. dragonfly> FT.DROPINDEX idx
  2. OK

See also

FT.CREATE | FT.INFO