Interface WeaviateProtoBaseSearch.HybridOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WeaviateProtoBaseSearch.Hybrid,WeaviateProtoBaseSearch.Hybrid.Builder
- Enclosing class:
- WeaviateProtoBaseSearch
public static interface WeaviateProtoBaseSearch.HybridOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatgetAlpha()float alpha = 4;.weaviate.v1.Hybrid.FusionType fusion_type = 5;int.weaviate.v1.Hybrid.FusionType fusion_type = 5;targets in msg is ignored and should not be set for hybridtargets in msg is ignored and should not be set for hybridsame as above.same as above.getProperties(int index) repeated string properties = 2;com.google.protobuf.ByteStringgetPropertiesBytes(int index) repeated string properties = 2;intrepeated string properties = 2;repeated string properties = 2;getQuery()string query = 1;com.google.protobuf.ByteStringstring query = 1;.weaviate.v1.Targets targets = 10;.weaviate.v1.Targets targets = 10;getTargetVectors(int index) Deprecated.weaviate.v1.Hybrid.target_vectors is deprecated.com.google.protobuf.ByteStringgetTargetVectorsBytes(int index) Deprecated.weaviate.v1.Hybrid.target_vectors is deprecated.intDeprecated.weaviate.v1.Hybrid.target_vectors is deprecated.Deprecated.weaviate.v1.Hybrid.target_vectors is deprecated.floatgetVector(int index) Deprecated.weaviate.v1.Hybrid.vector is deprecated.com.google.protobuf.ByteStringDeprecated.weaviate.v1.Hybrid.vector_bytes is deprecated.intDeprecated.weaviate.v1.Hybrid.vector is deprecated.floatfloat vector_distance = 20;Deprecated.weaviate.v1.Hybrid.vector is deprecated.getVectors(int index) repeated .weaviate.v1.Vectors vectors = 21;intrepeated .weaviate.v1.Vectors vectors = 21;repeated .weaviate.v1.Vectors vectors = 21;getVectorsOrBuilder(int index) repeated .weaviate.v1.Vectors vectors = 21;List<? extends WeaviateProtoBase.VectorsOrBuilder>repeated .weaviate.v1.Vectors vectors = 21;booleantargets in msg is ignored and should not be set for hybridbooleansame as above.boolean.weaviate.v1.Targets targets = 10;booleanfloat vector_distance = 20;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
-
getQuery
String getQuery()string query = 1;- Returns:
- The query.
-
getQueryBytes
com.google.protobuf.ByteString getQueryBytes()string query = 1;- Returns:
- The bytes for query.
-
getPropertiesList
repeated string properties = 2;- Returns:
- A list containing the properties.
-
getPropertiesCount
int getPropertiesCount()repeated string properties = 2;- Returns:
- The count of properties.
-
getProperties
repeated string properties = 2;- Parameters:
index- The index of the element to return.- Returns:
- The properties at the given index.
-
getPropertiesBytes
com.google.protobuf.ByteString getPropertiesBytes(int index) repeated string properties = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the properties at the given index.
-
getVectorList
Deprecated.weaviate.v1.Hybrid.vector is deprecated. See v1/base_search.proto;l=41protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 3 [deprecated = true];- Returns:
- A list containing the vector.
-
getVectorCount
Deprecated.weaviate.v1.Hybrid.vector is deprecated. See v1/base_search.proto;l=41protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 3 [deprecated = true];- Returns:
- The count of vector.
-
getVector
Deprecated.weaviate.v1.Hybrid.vector is deprecated. See v1/base_search.proto;l=41protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 3 [deprecated = true];- Parameters:
index- The index of the element to return.- Returns:
- The vector at the given index.
-
getAlpha
float getAlpha()float alpha = 4;- Returns:
- The alpha.
-
getFusionTypeValue
int getFusionTypeValue().weaviate.v1.Hybrid.FusionType fusion_type = 5;- Returns:
- The enum numeric value on the wire for fusionType.
-
getFusionType
WeaviateProtoBaseSearch.Hybrid.FusionType getFusionType().weaviate.v1.Hybrid.FusionType fusion_type = 5;- Returns:
- The fusionType.
-
getVectorBytes
Deprecated.weaviate.v1.Hybrid.vector_bytes is deprecated. See v1/base_search.proto;l=49deprecated in 1.29.0 - use vectors
bytes vector_bytes = 6 [deprecated = true];- Returns:
- The vectorBytes.
-
getTargetVectorsList
Deprecated.weaviate.v1.Hybrid.target_vectors is deprecated. See v1/base_search.proto;l=50deprecated in 1.26 - use targets
repeated string target_vectors = 7 [deprecated = true];- Returns:
- A list containing the targetVectors.
-
getTargetVectorsCount
Deprecated.weaviate.v1.Hybrid.target_vectors is deprecated. See v1/base_search.proto;l=50deprecated in 1.26 - use targets
repeated string target_vectors = 7 [deprecated = true];- Returns:
- The count of targetVectors.
-
getTargetVectors
Deprecated.weaviate.v1.Hybrid.target_vectors is deprecated. See v1/base_search.proto;l=50deprecated in 1.26 - use targets
repeated string target_vectors = 7 [deprecated = true];- Parameters:
index- The index of the element to return.- Returns:
- The targetVectors at the given index.
-
getTargetVectorsBytes
Deprecated.weaviate.v1.Hybrid.target_vectors is deprecated. See v1/base_search.proto;l=50deprecated in 1.26 - use targets
repeated string target_vectors = 7 [deprecated = true];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetVectors at the given index.
-
hasNearText
boolean hasNearText()targets in msg is ignored and should not be set for hybrid
.weaviate.v1.NearTextSearch near_text = 8;- Returns:
- Whether the nearText field is set.
-
getNearText
WeaviateProtoBaseSearch.NearTextSearch getNearText()targets in msg is ignored and should not be set for hybrid
.weaviate.v1.NearTextSearch near_text = 8;- Returns:
- The nearText.
-
getNearTextOrBuilder
WeaviateProtoBaseSearch.NearTextSearchOrBuilder getNearTextOrBuilder()targets in msg is ignored and should not be set for hybrid
.weaviate.v1.NearTextSearch near_text = 8; -
hasNearVector
boolean hasNearVector()same as above. Use the target vector in the hybrid message
.weaviate.v1.NearVector near_vector = 9;- Returns:
- Whether the nearVector field is set.
-
getNearVector
WeaviateProtoBaseSearch.NearVector getNearVector()same as above. Use the target vector in the hybrid message
.weaviate.v1.NearVector near_vector = 9;- Returns:
- The nearVector.
-
getNearVectorOrBuilder
WeaviateProtoBaseSearch.NearVectorOrBuilder getNearVectorOrBuilder()same as above. Use the target vector in the hybrid message
.weaviate.v1.NearVector near_vector = 9; -
hasTargets
boolean hasTargets().weaviate.v1.Targets targets = 10;- Returns:
- Whether the targets field is set.
-
getTargets
WeaviateProtoBaseSearch.Targets getTargets().weaviate.v1.Targets targets = 10;- Returns:
- The targets.
-
getTargetsOrBuilder
WeaviateProtoBaseSearch.TargetsOrBuilder getTargetsOrBuilder().weaviate.v1.Targets targets = 10; -
hasVectorDistance
boolean hasVectorDistance()float vector_distance = 20;- Returns:
- Whether the vectorDistance field is set.
-
getVectorDistance
float getVectorDistance()float vector_distance = 20;- Returns:
- The vectorDistance.
-
getVectorsList
List<WeaviateProtoBase.Vectors> getVectorsList()repeated .weaviate.v1.Vectors vectors = 21; -
getVectors
repeated .weaviate.v1.Vectors vectors = 21; -
getVectorsCount
int getVectorsCount()repeated .weaviate.v1.Vectors vectors = 21; -
getVectorsOrBuilderList
List<? extends WeaviateProtoBase.VectorsOrBuilder> getVectorsOrBuilderList()repeated .weaviate.v1.Vectors vectors = 21; -
getVectorsOrBuilder
repeated .weaviate.v1.Vectors vectors = 21; -
getThresholdCase
WeaviateProtoBaseSearch.Hybrid.ThresholdCase getThresholdCase()
-