Type alias VectorIndexNListsScaling

VectorIndexNListsScaling: {
    minNLists: number;
    multiplier: number;
    strategy: "autoSqrt";
    tiers?: VectorIndexNListsTier[];
}

Options for computing the number of vector index centroids from the document count at training time.

Introduced in: ArangoDB 3.12.10

Type declaration

  • minNLists: number

    Minimum number of centroids and documents required to start training.

    Must be at least 1.

  • multiplier: number

    Factor applied to the square root of the document count.

    Must be at least 1.

  • strategy: "autoSqrt"

    Strategy used to compute the number of centroids.

  • Optional tiers?: VectorIndexNListsTier[]

    Fixed centroid counts to use for larger document counts.