Zvec Node.js API Reference
    Preparing search index...

    Interface ZVecIvfRabitqIndexParams

    Configuration parameters for an IVF-RaBitQ index on a vector field.

    Platform support: Only available on Linux x86_64 with AVX2/AVX-512.

    interface ZVecIvfRabitqIndexParams {
        indexType: 7;
        metricType?: ZVecMetricType;
        nList?: number;
        totalBits?: number;
        sampleCount?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    indexType: 7

    Must be ZVecIndexType.IVF_RABITQ (7).

    metricType?: ZVecMetricType

    Distance metric used for similarity computation.

    ZVecMetricType.IP
    
    nList?: number

    Number of clusters (inverted lists) to partition the dataset into.

    1024
    
    totalBits?: number

    Total number of bits used for RaBitQ quantization.

    7
    
    sampleCount?: number

    Number of samples used for RaBitQ training. 0 lets the engine decide.

    0