string
: The unique name identifier of the index.
'ivf'
, 'ivfpq'
, or 'ivfflat'
).
string | undefined
: The index type, or undefined
if not set.
boolean
: true
if the index has been trained, false
otherwise.
IndexIVFFlatModel
: For IVFFlat indexesIndexIVFModel
: For IVF indexesIndexIVFPQModel
: For IVFPQ indexesProperty | Type | Description |
---|---|---|
type | string | Index type ('ivf' , 'ivfflat' , or 'ivfpq' ) |
dimension | number | Vector dimensionality |
metric | string | Distance metric ('cosine' , 'euclidean' , etc.) |
nLists | number | Number of inverted lists for clustering |
Property | Type | Description |
---|---|---|
pqDim | number | Product quantization dimension |
pqBits | number | Number of bits for quantization |