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 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

      List<String> getPropertiesList()
      repeated string properties = 2;
      Returns:
      A list containing the properties.
    • getPropertiesCount

      int getPropertiesCount()
      repeated string properties = 2;
      Returns:
      The count of properties.
    • getProperties

      String getProperties(int index)
      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 List<Float> getVectorList()
      Deprecated.
      weaviate.v1.Hybrid.vector is deprecated. See v1/base_search.proto;l=41
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated float vector = 3 [deprecated = true];
      Returns:
      A list containing the vector.
    • getVectorCount

      @Deprecated int getVectorCount()
      Deprecated.
      weaviate.v1.Hybrid.vector is deprecated. See v1/base_search.proto;l=41
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated float vector = 3 [deprecated = true];
      Returns:
      The count of vector.
    • getVector

      @Deprecated float getVector(int index)
      Deprecated.
      weaviate.v1.Hybrid.vector is deprecated. See v1/base_search.proto;l=41
       protolint: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

      .weaviate.v1.Hybrid.FusionType fusion_type = 5;
      Returns:
      The fusionType.
    • getVectorBytes

      @Deprecated com.google.protobuf.ByteString getVectorBytes()
      Deprecated.
      weaviate.v1.Hybrid.vector_bytes is deprecated. See v1/base_search.proto;l=49
       deprecated in 1.29.0 - use vectors
       
      bytes vector_bytes = 6 [deprecated = true];
      Returns:
      The vectorBytes.
    • getTargetVectorsList

      @Deprecated List<String> getTargetVectorsList()
      Deprecated.
      weaviate.v1.Hybrid.target_vectors is deprecated. See v1/base_search.proto;l=50
       deprecated in 1.26 - use targets
       
      repeated string target_vectors = 7 [deprecated = true];
      Returns:
      A list containing the targetVectors.
    • getTargetVectorsCount

      @Deprecated int getTargetVectorsCount()
      Deprecated.
      weaviate.v1.Hybrid.target_vectors is deprecated. See v1/base_search.proto;l=50
       deprecated in 1.26 - use targets
       
      repeated string target_vectors = 7 [deprecated = true];
      Returns:
      The count of targetVectors.
    • getTargetVectors

      @Deprecated String getTargetVectors(int index)
      Deprecated.
      weaviate.v1.Hybrid.target_vectors is deprecated. See v1/base_search.proto;l=50
       deprecated 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 com.google.protobuf.ByteString getTargetVectorsBytes(int index)
      Deprecated.
      weaviate.v1.Hybrid.target_vectors is deprecated. See v1/base_search.proto;l=50
       deprecated 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

       targets in msg is ignored and should not be set for hybrid
       
      .weaviate.v1.NearTextSearch near_text = 8;
      Returns:
      The nearText.
    • 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

       same as above. Use the target vector in the hybrid message
       
      .weaviate.v1.NearVector near_vector = 9;
      Returns:
      The nearVector.
    • 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

      .weaviate.v1.Targets targets = 10;
      Returns:
      The targets.
    • 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

      WeaviateProtoBase.Vectors getVectors(int index)
      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

      WeaviateProtoBase.VectorsOrBuilder getVectorsOrBuilder(int index)
      repeated .weaviate.v1.Vectors vectors = 21;
    • getThresholdCase