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

    Interface ZVecDiskAnnQueryParams

    Query-time parameters for searches performed against a DiskANN index.

    interface ZVecDiskAnnQueryParams {
        radius?: number;
        isLinear?: boolean;
        isUsingRefiner?: boolean;
        indexType: 5;
        listSize?: number;
    }

    Hierarchy

    • ZVecVectorQueryParams
      • ZVecDiskAnnQueryParams
    Index

    Properties

    radius?: number

    Search radius for range queries. Used in combination with top-k to filter results.

    0.0 (disabled)
    
    isLinear?: boolean

    If True, forces brute-force linear search instead of using the index. Useful for debugging or small datasets.

    false
    
    isUsingRefiner?: boolean

    Whether to use refiner for the query.

    false
    
    indexType: 5

    Must be ZVecIndexType.DISKANN (5).

    listSize?: number

    Candidate list size used during search. Larger values improve recall but slow down search.

    300