Querylight TS Demo

VectorFieldIndexParams

Value-object constructor params for VectorFieldIndex.

Back to docs search

Reference Entry

VectorFieldIndexParams

API Reference · foundation · order 139

Value-object constructor params for VectorFieldIndex.

VectorFieldIndexParams

Value-object constructor params for VectorFieldIndex.

Declaration

interface VectorFieldIndexParams

Members

numHashTables

```ts numHashTables: number ``` Number of independent hash tables used during approximate retrieval.

dimensions

```ts dimensions: number ``` Dimensionality of stored vectors.

random

```ts random?: RandomSource ``` Random source used to create projection vectors.

initialRandomVectors

```ts initialRandomVectors?: Vector[][] ``` Optional precomputed random projection vectors for deterministic hydration.

options

```ts options?: VectorFieldIndexOptions ``` Optional LSH tuning settings.