Interface Common.SearchIvfPqParamOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Common.SearchIvfPqParam, Common.SearchIvfPqParam.Builder
Enclosing class:
Common

public static interface Common.SearchIvfPqParamOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    How many buckets to query, the default is 80, and cannot exceed the size of ncentroids Optional parameters
    int
    Default 1, parallel between queries; 0, parallel in a single query.
    int
    number of results recalled from the index The default is 100.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getNprobe

      int getNprobe()
       How many buckets to query, the default is 80, and cannot exceed the size of ncentroids Optional parameters
       
      int32 nprobe = 1;
      Returns:
      The nprobe.
    • getParallelOnQueries

      int getParallelOnQueries()
       Default 1, parallel between queries; 0, parallel in a single query.
       Inter-query parallelism refers to a query in which a single query contains multiple vectors, and is parallelized
       between each vector query. If there is only a single vector, it can be queried in parallel across nprobe buckets
       optional parameters
       
      int32 parallel_on_queries = 2;
      Returns:
      The parallelOnQueries.
    • getRecallNum

      int getRecallNum()
       number of results recalled from the index
       The default is 100. This parameter is for whether to use the original vector for fine sorting. When searching, it
       will look for recall_num results in the IVF index. Then use the original vectors to reorder to get the topK final
       results. Among them, whether to use the original vector to reorder is specified by the quick parameter. optional
       parameters
       
      int32 recall_num = 3;
      Returns:
      The recallNum.