- Usage:
-
FT.INFO key
- Complexity:
- O(1)
- Module:
- valkey-search
- Since module version:
- 1.0.0
- ACL Categories:
- @read, @fast, @search
<index-name>
(required): The name of the index to return information about.index_name
(string) The index namenum_docs
(integer) Total keys in the indexnum_records
(integer) Total records in the indexhash_indexing_failures
(integer) Count of unsuccessful indexing attemptsindexing
(integer) Binary value. Shows if background indexing is running or notpercent_indexed
(decimal) Progress of background indexing. Percentage is expressed as a value from0
to1
index_definition
(array) An array of values defining the indexkey_type
(string)HASH
orJSON
.prefixes
(array of strings) Prefixes for keysdefault_score
(integer) This is the default scoring value for the vector search scoring function, which is used for sorting.attributes
(array) One array of entries for each field defined in the index.identifier
(string) field nameattribute
(string) An index field. This is correlated to a specific indexHASH
field.type
(string)VECTOR
. This is the only available type.index
(array) Extended information about this internal index for this field.capacity
(integer) The current capacity for the total number of vectors that the index can store.dimensions
(integer) Dimension countdistance_metric
(string) Possible values areL2
,IP
orCosine
data_type
(string)FLOAT32
. This is the only available data typealgorithm
(array) Information about the algorithm for this field.name
(string)HNSW
orFLAT
m
(integer) The count of maximum permitted outgoing edges for each node in the graph in each layer. The maximum number of outgoing edges is2*M
for layer0
. The Default is16
. The maximum is512
.ef_construction
(integer) The count of vectors in the index. The default is200
, and the max is4096
. Higher values increase the time needed to create indexes, but improve the recall ratio.ef_runtime
(integer) The count of vectors to be examined during a query operation. The default is 10, and the max is 4096.
Detailed information about the specified index is returned.
RESPONSE
An array of key value pairs.
RESP2/RESP3 Reply
Array reply:: a map of index fields in the form of key followed by value