

# FT.INFO
<a name="vector-search-commands-ft.info"></a>

**Syntax**

```
FT.INFO <index-name>
```

Vector search augments the [FT.INFO](https://valkey.io/commands/info/) command with several additional sections of statistics and counters. A request to retrieve the section SEARCH will retrieve all of the following statistics:


| Key name | Value type | Description | 
| --- | --- | --- | 
| index\$1name | string | Name of the index | 
| index\$1options | string | Reserved. Currently set to "0" | 
| index\$1definition | array | See below for definition of these array elements. | 
| attributes | array of attribute information | One element in this array for each defined attribute, see below for attribute information definition. | 
| num\$1docs | integer | Number of keys currently contained in the index | 
| num\$1terms | integer | Reserved. Currently set to "0". | 
| record\$1count | integer | The sum of the "size" field for each attribute. | 
| hash\$1indexing\$1failures | integer | Number of times that an attribute couldn't be converted to the declared attribute type. Despite the name this also applies to JSON keys. | 
| backfill\$1in\$1progress | integer | If a backfill is currently in progress this will be a '1' otherwise it will be a '0' | 
| backfill\$1percent\$1complete | float | Estimate of backfill completion, a fractional number in the range [0..1] | 
| mutation\$1queue\$1size | integer | Number of keys waiting to update the index. | 
| recent\$1mutations\$1queue\$1delay | integer | Estimate of delay (in seconds) of index update. 0 if no updates are in progress. | 
| state | string | Backfill state: "ready" indicates that backfill completed successfully. "backfill\$1in\$1progress" indicates that backfill is proceeding. "backfill\$1paused\$1by\$1oom" means that backfilling has been paused due to a low memory condition. Once the low memory condition is resolved, backill will continue. | 

The index\$1definition structure is an array of key/value pairs defined as:


| Key name | Value type | Description | 
| --- | --- | --- | 
| key\$1type | string | Either the string 'JSON' or the string 'HASH' | 
| prefixes | array | Each element in the array is a defined prefix for the index. If no prefixes were specified when the index was create, this array will have 0 entries. | 
| default\$1score | string | Reserved. Currently set to "1" | 

Attribute information: Attribute information is type-specific.

Numeric attributes:


| Key | Value type | Description | 
| --- | --- | --- | 
| identifier | string | Location of the attribute within a key. Hash member name or JSON path | 
| alias | string | Name of attribute used in query descriptions. | 
| type | string | The string "NUMERIC" | 
| size | integer | The number of keys with valid numeric values in this attribute. | 

Tag attributes:


| Key name | Value type | Description | 
| --- | --- | --- | 
| identifier | string | Location of the attribute within a key. Hash member name or JSON path | 
| alias | string | Name of attribute used in query descriptions. | 
| type | string | The string "TAG" | 
| SEPARATOR | character | The separator character defined when the index was created | 
| CASESENSITIVE | n/a | This key has no associated value. It is present only if the attribute was created with this option. | 
| size | integer | The number of keys with valid tag values in this attribute | 

Vector attributes:


| Key name | Value type | Description | 
| --- | --- | --- | 
| identifier | string | Location of the attribute within a key. Hash member name or JSON path | 
| alias | string | Name of attribute used in query descriptions. | 
| type | string | The string "VECTOR" | 
| index | character | For further description of vector index, see below. | 

Vector index description:


| Key name | Value type | Description | 
| --- | --- | --- | 
| capacity | string | Current capacity of index | 
| dimensions | string | Number of elements in each vector | 
| distance\$1metric | string | One of "COSINE", "L2" or "IP" | 
| size | array  | Description of vector index, see below. | 
| data\$1type | string | Declared datatype. Only "FLOAT32" is currently supported. | 
| algorithm | array  | Further description of the vector search algorithm. | 

FLAT Vector search algorithm Description:


| Key name | Value type | Description | 
| --- | --- | --- | 
| name | string | Algorithm name: FLAT | 
| block\$1size | number | Size of a block of the FLAT index. | 

HNSW Vector Index Description:


| Key name | Value type | Description | 
| --- | --- | --- | 
| name | string | Algorithm name: HNSW | 
| m | number | The "M" parameter for HNSW | 
| ef\$1construction | number | The "ef\$1construction" parameter for HNSW | 
| ef\$1runtime | number | The "ef\$1runtime" parameter for HNSW. | 