Package io.qdrant.client.grpc
Interface Points.SearchPointsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Points.SearchPoints
,Points.SearchPoints.Builder
- Enclosing class:
- Points
public static interface Points.SearchPointsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionname of the collectioncom.google.protobuf.ByteString
name of the collectionFilter conditions - return only those points that satisfy the specified conditionsFilter conditions - return only those points that satisfy the specified conditionslong
getLimit()
Max number of resultlong
Offset of the resultSearch configSearch configOptions for specifying read consistency guaranteesOptions for specifying read consistency guaranteesfloat
If provided - cut off results with worse scoresfloat
getVector
(int index) vectorint
vectorvectorWhich vector to use for search, if not specified - use default vectorcom.google.protobuf.ByteString
Which vector to use for search, if not specified - use default vectorOptions for specifying which payload to include or notOptions for specifying which payload to include or notOptions for specifying which vectors to include into responseOptions for specifying which vectors to include into responseboolean
Filter conditions - return only those points that satisfy the specified conditionsboolean
Offset of the resultboolean
Search configboolean
Options for specifying read consistency guaranteesboolean
If provided - cut off results with worse scoresboolean
Which vector to use for search, if not specified - use default vectorboolean
Options for specifying which payload to include or notboolean
Options for specifying which vectors to include into responseMethods 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
-
getCollectionName
String getCollectionName()name of the collection
string collection_name = 1;
- Returns:
- The collectionName.
-
getCollectionNameBytes
com.google.protobuf.ByteString getCollectionNameBytes()name of the collection
string collection_name = 1;
- Returns:
- The bytes for collectionName.
-
getVectorList
vector
repeated float vector = 2;
- Returns:
- A list containing the vector.
-
getVectorCount
int getVectorCount()vector
repeated float vector = 2;
- Returns:
- The count of vector.
-
getVector
float getVector(int index) vector
repeated float vector = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The vector at the given index.
-
hasFilter
boolean hasFilter()Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 3;
- Returns:
- Whether the filter field is set.
-
getFilter
Points.Filter getFilter()Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 3;
- Returns:
- The filter.
-
getFilterOrBuilder
Points.FilterOrBuilder getFilterOrBuilder()Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 3;
-
getLimit
long getLimit()Max number of result
uint64 limit = 4;
- Returns:
- The limit.
-
hasWithPayload
boolean hasWithPayload()Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 6;
- Returns:
- Whether the withPayload field is set.
-
getWithPayload
Points.WithPayloadSelector getWithPayload()Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 6;
- Returns:
- The withPayload.
-
getWithPayloadOrBuilder
Points.WithPayloadSelectorOrBuilder getWithPayloadOrBuilder()Options for specifying which payload to include or not
.qdrant.WithPayloadSelector with_payload = 6;
-
hasParams
boolean hasParams()Search config
.qdrant.SearchParams params = 7;
- Returns:
- Whether the params field is set.
-
getParams
Points.SearchParams getParams()Search config
.qdrant.SearchParams params = 7;
- Returns:
- The params.
-
getParamsOrBuilder
Points.SearchParamsOrBuilder getParamsOrBuilder()Search config
.qdrant.SearchParams params = 7;
-
hasScoreThreshold
boolean hasScoreThreshold()If provided - cut off results with worse scores
optional float score_threshold = 8;
- Returns:
- Whether the scoreThreshold field is set.
-
getScoreThreshold
float getScoreThreshold()If provided - cut off results with worse scores
optional float score_threshold = 8;
- Returns:
- The scoreThreshold.
-
hasOffset
boolean hasOffset()Offset of the result
optional uint64 offset = 9;
- Returns:
- Whether the offset field is set.
-
getOffset
long getOffset()Offset of the result
optional uint64 offset = 9;
- Returns:
- The offset.
-
hasVectorName
boolean hasVectorName()Which vector to use for search, if not specified - use default vector
optional string vector_name = 10;
- Returns:
- Whether the vectorName field is set.
-
getVectorName
String getVectorName()Which vector to use for search, if not specified - use default vector
optional string vector_name = 10;
- Returns:
- The vectorName.
-
getVectorNameBytes
com.google.protobuf.ByteString getVectorNameBytes()Which vector to use for search, if not specified - use default vector
optional string vector_name = 10;
- Returns:
- The bytes for vectorName.
-
hasWithVectors
boolean hasWithVectors()Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 11;
- Returns:
- Whether the withVectors field is set.
-
getWithVectors
Points.WithVectorsSelector getWithVectors()Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 11;
- Returns:
- The withVectors.
-
getWithVectorsOrBuilder
Points.WithVectorsSelectorOrBuilder getWithVectorsOrBuilder()Options for specifying which vectors to include into response
optional .qdrant.WithVectorsSelector with_vectors = 11;
-
hasReadConsistency
boolean hasReadConsistency()Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 12;
- Returns:
- Whether the readConsistency field is set.
-
getReadConsistency
Points.ReadConsistency getReadConsistency()Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 12;
- Returns:
- The readConsistency.
-
getReadConsistencyOrBuilder
Points.ReadConsistencyOrBuilder getReadConsistencyOrBuilder()Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 12;
-