Package io.dingodb.common
Interface Common.SearchDiskAnnParamOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Common.SearchDiskAnnParam,Common.SearchDiskAnnParam.Builder
- Enclosing class:
- Common
public static interface Common.SearchDiskAnnParamOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getBeamwidth
int getBeamwidth()The beamwidth to be used for search. This is the maximum number of IO requests each query will issue per iteration of search code. Larger beamwidth will result in fewer IO round-trips per query, but might result in slightly higher total number of IO requests to SSD per query. For the highest query throughput with a fixed SSD IOps rating, use W=1. For best latency, use W=4,8 or higher complexity search. Specifying 0 will optimize the beamwidth depending on the number of threads performing search, but will involve some tuning overhead. It is best not to set it to 0. This will incur some overhead in the backend code. (default is 2): required.
uint32 beamwidth = 1;- Returns:
- The beamwidth.
-