Package io.qdrant.client.grpc
Class Points.SearchParams
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.qdrant.client.grpc.Points.SearchParams
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Points.SearchParamsOrBuilder
,Serializable
- Enclosing class:
- Points
public static final class Points.SearchParams
extends com.google.protobuf.GeneratedMessageV3
implements Points.SearchParamsOrBuilder
Protobuf type
qdrant.SearchParams
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeqdrant.SearchParams
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static Points.SearchParams
static final com.google.protobuf.Descriptors.Descriptor
boolean
getExact()
Search without approximation.long
Params relevant to HNSW index.boolean
If enabled, the engine will only perform search among indexed or small segments.com.google.protobuf.Parser<Points.SearchParams>
If set to true, search will ignore quantized vector dataIf set to true, search will ignore quantized vector dataint
boolean
hasExact()
Search without approximation.int
hashCode()
boolean
Params relevant to HNSW index.boolean
If enabled, the engine will only perform search among indexed or small segments.boolean
If set to true, search will ignore quantized vector dataprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static Points.SearchParams.Builder
static Points.SearchParams.Builder
newBuilder
(Points.SearchParams prototype) protected Points.SearchParams.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Points.SearchParams
parseDelimitedFrom
(InputStream input) static Points.SearchParams
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchParams
parseFrom
(byte[] data) static Points.SearchParams
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchParams
parseFrom
(com.google.protobuf.ByteString data) static Points.SearchParams
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchParams
parseFrom
(com.google.protobuf.CodedInputStream input) static Points.SearchParams
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchParams
parseFrom
(InputStream input) static Points.SearchParams
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.SearchParams
parseFrom
(ByteBuffer data) static Points.SearchParams
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Points.SearchParams>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
HNSW_EF_FIELD_NUMBER
public static final int HNSW_EF_FIELD_NUMBER- See Also:
-
EXACT_FIELD_NUMBER
public static final int EXACT_FIELD_NUMBER- See Also:
-
QUANTIZATION_FIELD_NUMBER
public static final int QUANTIZATION_FIELD_NUMBER- See Also:
-
INDEXED_ONLY_FIELD_NUMBER
public static final int INDEXED_ONLY_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasHnswEf
public boolean hasHnswEf()Params relevant to HNSW index. Size of the beam in a beam-search. Larger the value - more accurate the result, more time required for search.
optional uint64 hnsw_ef = 1;
- Specified by:
hasHnswEf
in interfacePoints.SearchParamsOrBuilder
- Returns:
- Whether the hnswEf field is set.
-
getHnswEf
public long getHnswEf()Params relevant to HNSW index. Size of the beam in a beam-search. Larger the value - more accurate the result, more time required for search.
optional uint64 hnsw_ef = 1;
- Specified by:
getHnswEf
in interfacePoints.SearchParamsOrBuilder
- Returns:
- The hnswEf.
-
hasExact
public boolean hasExact()Search without approximation. If set to true, search may run long but with exact results.
optional bool exact = 2;
- Specified by:
hasExact
in interfacePoints.SearchParamsOrBuilder
- Returns:
- Whether the exact field is set.
-
getExact
public boolean getExact()Search without approximation. If set to true, search may run long but with exact results.
optional bool exact = 2;
- Specified by:
getExact
in interfacePoints.SearchParamsOrBuilder
- Returns:
- The exact.
-
hasQuantization
public boolean hasQuantization()If set to true, search will ignore quantized vector data
optional .qdrant.QuantizationSearchParams quantization = 3;
- Specified by:
hasQuantization
in interfacePoints.SearchParamsOrBuilder
- Returns:
- Whether the quantization field is set.
-
getQuantization
If set to true, search will ignore quantized vector data
optional .qdrant.QuantizationSearchParams quantization = 3;
- Specified by:
getQuantization
in interfacePoints.SearchParamsOrBuilder
- Returns:
- The quantization.
-
getQuantizationOrBuilder
If set to true, search will ignore quantized vector data
optional .qdrant.QuantizationSearchParams quantization = 3;
- Specified by:
getQuantizationOrBuilder
in interfacePoints.SearchParamsOrBuilder
-
hasIndexedOnly
public boolean hasIndexedOnly()If enabled, the engine will only perform search among indexed or small segments. Using this option prevents slow searches in case of delayed index, but does not guarantee that all uploaded vectors will be included in search results
optional bool indexed_only = 4;
- Specified by:
hasIndexedOnly
in interfacePoints.SearchParamsOrBuilder
- Returns:
- Whether the indexedOnly field is set.
-
getIndexedOnly
public boolean getIndexedOnly()If enabled, the engine will only perform search among indexed or small segments. Using this option prevents slow searches in case of delayed index, but does not guarantee that all uploaded vectors will be included in search results
optional bool indexed_only = 4;
- Specified by:
getIndexedOnly
in interfacePoints.SearchParamsOrBuilder
- Returns:
- The indexedOnly.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Points.SearchParams parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.SearchParams parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.SearchParams parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.SearchParams parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.SearchParams parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.SearchParams parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Points.SearchParams parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Points.SearchParams parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Points.SearchParams parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Points.SearchParams parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Points.SearchParams.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-