FT._LIST

Syntax

  1. FT._LIST

Time complexity: O(1)

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

Description

Return a list of all existing indexes.

The prefix _ in the command indicates that this is a temporary command. In the future, a SCAN type of command will be added for use when a database contains a large number of indices.

Return

Array reply with index names.

Examples

  1. dragonfly> FT._LIST
  2. 1) "idx"
  3. 2) "movies"
  4. 3) "imdb"