FT._LIST

Usage:
FT._LIST
Complexity:
O(1)
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

Response

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

Example

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

RESP2/RESP3 Reply

Array reply: an array of strings which are the currently defined index names