vectordb / Exports / IvfPQIndexConfig
Interface: IvfPQIndexConfig
Table of contents
Properties
- column
- index_cache_size
- index_name
- max_iters
- max_opq_iters
- metric_type
- num_bits
- num_partitions
- num_sub_vectors
- replace
- type
- use_opq
Properties
column
β’ Optional
column: string
The column to be indexed
Defined in
index_cache_size
β’ Optional
index_cache_size: number
Cache size of the index
Defined in
index_name
β’ Optional
index_name: string
A unique name for the index
Defined in
max_iters
β’ Optional
max_iters: number
The max number of iterations for kmeans training.
Defined in
max_opq_iters
β’ Optional
max_opq_iters: number
Max number of iterations to train OPQ, if use_opq
is true.
Defined in
metric_type
β’ Optional
metric_type: MetricType
Metric type, L2 or Cosine
Defined in
num_bits
β’ Optional
num_bits: number
The number of bits to present one PQ centroid.
Defined in
num_partitions
β’ Optional
num_partitions: number
The number of partitions this index
Defined in
num_sub_vectors
β’ Optional
num_sub_vectors: number
Number of subvectors to build PQ code
Defined in
replace
β’ Optional
replace: boolean
Replace an existing index with the same name if it exists.
Defined in
type
β’ type: "ivf_pq"
Defined in
use_opq
β’ Optional
use_opq: boolean
Train as optimized product quantization.