weaviate-client
    Preparing search index...

    Type Alias VectorIndexConfigHNSWCreateOptions

    type VectorIndexConfigHNSWCreateOptions = {
        cleanupIntervalSeconds?: number;
        distanceMetric?: VectorDistance;
        dynamicEfFactor?: number;
        dynamicEfMax?: number;
        dynamicEfMin?: number;
        ef?: number;
        efConstruction?: number;
        filterStrategy?: VectorIndexFilterStrategy;
        flatSearchCutoff?: number;
        maxConnections?: number;
        multiVector?: MultiVectorConfigCreate;
        quantizer?: QuantizerConfigCreate;
        skip?: boolean;
        vectorCacheMaxObjects?: number;
    }
    Index

    Properties

    cleanupIntervalSeconds?: number

    The interval in seconds at which to clean up the index. Default is 300.

    distanceMetric?: VectorDistance

    The distance metric to use. Default is 'cosine'.

    dynamicEfFactor?: number

    The dynamic ef factor. Default is 8.

    dynamicEfMax?: number

    The dynamic ef max. Default is 500.

    dynamicEfMin?: number

    The dynamic ef min. Default is 100.

    ef?: number

    The ef parameter. Default is -1.

    efConstruction?: number

    The ef construction parameter. Default is 128.

    filterStrategy?: VectorIndexFilterStrategy

    The filter strategy to use. Default is 'sweeping'.

    flatSearchCutoff?: number

    The flat search cutoff. Default is 40000.

    maxConnections?: number

    The maximum number of connections. Default is 64.

    The multi-vector configuration to use. Use vectorIndex.multiVector to make one.

    The quantizer configuration to use. Use vectorIndex.quantizer.bq or vectorIndex.quantizer.pq to make one.

    skip?: boolean

    Whether to skip the index. Default is false.

    vectorCacheMaxObjects?: number

    The maximum number of objects to cache in the vector cache. Default is 1000000000000.