index_name
Returns
str
: The unique name identifier of the index.
Example Usage
index_type
'ivf'
, 'ivfpq'
, or 'ivfflat'
).
Returns
str
: The index type.
Example Usage
is_trained
Returns
bool
: True
if the index has been trained, False
otherwise.
Example Usage
is_training
Returns
bool
: True
if the index is currently training, False
otherwise.
Example Usage
index_config
Returns
Dict[str, Any]
: Configuration dictionary containing index parameters.
Example Usage
Configuration Properties
Common Properties (All Index Types)
Property | Type | Description |
---|---|---|
type | str | Index type ('ivf' , 'ivfflat' , or 'ivfpq' ) |
dimension | int | Vector dimensionality |
metric | str | Distance metric ('cosine' , 'euclidean' , etc.) |
n_lists | int | Number of inverted lists for clustering |
IVFPQ-Specific Properties
Property | Type | Description |
---|---|---|
pq_dim | int | Product quantization dimension |
pq_bits | int | Number of bits for quantization |