This is a preview of PR #723, not valkey.io.

FT._LIST

Usage:
FT._LIST [ REGEX pattern ]
Complexity:
O(N) where N is the number of indexes in the current database
Module:
valkey-search
Since module version:
1.0.0
ACL Categories:
@admin, @slow, @read, @search

Lists the currently defined indexes for the current data base.

FT._LIST

Reply#

An array of strings. Each string is the name of an index in the current database. The index names are in no particular order.

Examples#

ft._list
1) index
2) products
3) users
4) transactions