FT.INFO
Since 1.1.0Search
Syntax
FT.INFO indexReturns an index's definition and state: its key type and prefixes, its fields with their options, how many documents and terms it holds, and whether it is still indexing. An index with HNSW vector fields also reports, for each, how many vectors it holds, how many are tombstones awaiting compaction, and whether a compaction is running.
Examples
> FT.INFO products
1) "index_name"
2) "products"
...
7) "attributes"
8) 1) 1) "identifier"
2) "name"
...
5) "type"
6) "TEXT"
...
13) "num_docs"
14) (integer) 4
...