Files
lancedb/docs/src/javascript/interfaces/IvfPQIndexConfig.md
Will Jones ee0f0611d9 docs: update node API reference (#734)
This command hasn't been run for a while...
2023-12-22 10:14:31 -08:00

3.2 KiB

vectordb / Exports / IvfPQIndexConfig

Interface: IvfPQIndexConfig

Table of contents

Properties

Properties

column

Optional column: string

The column to be indexed

Defined in

index.ts:701


index_cache_size

Optional index_cache_size: number

Cache size of the index

Defined in

index.ts:750


index_name

Optional index_name: string

A unique name for the index

Defined in

index.ts:706


max_iters

Optional max_iters: number

The max number of iterations for kmeans training.

Defined in

index.ts:721


max_opq_iters

Optional max_opq_iters: number

Max number of iterations to train OPQ, if use_opq is true.

Defined in

index.ts:740


metric_type

Optional metric_type: MetricType

Metric type, L2 or Cosine

Defined in

index.ts:711


num_bits

Optional num_bits: number

The number of bits to present one PQ centroid.

Defined in

index.ts:735


num_partitions

Optional num_partitions: number

The number of partitions this index

Defined in

index.ts:716


num_sub_vectors

Optional num_sub_vectors: number

Number of subvectors to build PQ code

Defined in

index.ts:731


replace

Optional replace: boolean

Replace an existing index with the same name if it exists.

Defined in

index.ts:745


type

type: "ivf_pq"

Defined in

index.ts:752


use_opq

Optional use_opq: boolean

Train as optimized product quantization.

Defined in

index.ts:726