Skip to main content

FT._LIST

Syntax

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

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