Interface FunctionScoreQueryOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FunctionScoreQuery, FunctionScoreQuery.Builder

public interface FunctionScoreQueryOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    optional float boost = 1 [json_name = "boost"];
    optional .org.opensearch.protobufs.FunctionBoostMode boost_mode = 3 [json_name = "boostMode"];
    int
    optional .org.opensearch.protobufs.FunctionBoostMode boost_mode = 3 [json_name = "boostMode"];
    getFunctions(int index)
    repeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];
    int
    repeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];
    repeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];
    repeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];
    repeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];
    float
    optional float max_boost = 5 [json_name = "maxBoost"];
    float
    optional float min_score = 6 [json_name = "minScore"];
    optional .org.opensearch.protobufs.QueryContainer query = 7 [json_name = "query"];
    optional .org.opensearch.protobufs.QueryContainer query = 7 [json_name = "query"];
    optional .org.opensearch.protobufs.FunctionScoreMode score_mode = 8 [json_name = "scoreMode"];
    int
    optional .org.opensearch.protobufs.FunctionScoreMode score_mode = 8 [json_name = "scoreMode"];
    optional string x_name = 2 [json_name = "xName"];
    com.google.protobuf.ByteString
    optional string x_name = 2 [json_name = "xName"];
    boolean
    optional float boost = 1 [json_name = "boost"];
    boolean
    optional .org.opensearch.protobufs.FunctionBoostMode boost_mode = 3 [json_name = "boostMode"];
    boolean
    optional float max_boost = 5 [json_name = "maxBoost"];
    boolean
    optional float min_score = 6 [json_name = "minScore"];
    boolean
    optional .org.opensearch.protobufs.QueryContainer query = 7 [json_name = "query"];
    boolean
    optional .org.opensearch.protobufs.FunctionScoreMode score_mode = 8 [json_name = "scoreMode"];
    boolean
    optional string x_name = 2 [json_name = "xName"];

    Methods 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

    • hasBoost

      boolean hasBoost()
      optional float boost = 1 [json_name = "boost"];
      Returns:
      Whether the boost field is set.
    • getBoost

      float getBoost()
      optional float boost = 1 [json_name = "boost"];
      Returns:
      The boost.
    • hasXName

      boolean hasXName()
      optional string x_name = 2 [json_name = "xName"];
      Returns:
      Whether the xName field is set.
    • getXName

      String getXName()
      optional string x_name = 2 [json_name = "xName"];
      Returns:
      The xName.
    • getXNameBytes

      com.google.protobuf.ByteString getXNameBytes()
      optional string x_name = 2 [json_name = "xName"];
      Returns:
      The bytes for xName.
    • hasBoostMode

      boolean hasBoostMode()
      optional .org.opensearch.protobufs.FunctionBoostMode boost_mode = 3 [json_name = "boostMode"];
      Returns:
      Whether the boostMode field is set.
    • getBoostModeValue

      int getBoostModeValue()
      optional .org.opensearch.protobufs.FunctionBoostMode boost_mode = 3 [json_name = "boostMode"];
      Returns:
      The enum numeric value on the wire for boostMode.
    • getBoostMode

      FunctionBoostMode getBoostMode()
      optional .org.opensearch.protobufs.FunctionBoostMode boost_mode = 3 [json_name = "boostMode"];
      Returns:
      The boostMode.
    • getFunctionsList

      List<FunctionScoreContainer> getFunctionsList()
      repeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];
    • getFunctions

      FunctionScoreContainer getFunctions(int index)
      repeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];
    • getFunctionsCount

      int getFunctionsCount()
      repeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];
    • getFunctionsOrBuilderList

      List<? extends FunctionScoreContainerOrBuilder> getFunctionsOrBuilderList()
      repeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];
    • getFunctionsOrBuilder

      FunctionScoreContainerOrBuilder getFunctionsOrBuilder(int index)
      repeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];
    • hasMaxBoost

      boolean hasMaxBoost()
      optional float max_boost = 5 [json_name = "maxBoost"];
      Returns:
      Whether the maxBoost field is set.
    • getMaxBoost

      float getMaxBoost()
      optional float max_boost = 5 [json_name = "maxBoost"];
      Returns:
      The maxBoost.
    • hasMinScore

      boolean hasMinScore()
      optional float min_score = 6 [json_name = "minScore"];
      Returns:
      Whether the minScore field is set.
    • getMinScore

      float getMinScore()
      optional float min_score = 6 [json_name = "minScore"];
      Returns:
      The minScore.
    • hasQuery

      boolean hasQuery()
      optional .org.opensearch.protobufs.QueryContainer query = 7 [json_name = "query"];
      Returns:
      Whether the query field is set.
    • getQuery

      QueryContainer getQuery()
      optional .org.opensearch.protobufs.QueryContainer query = 7 [json_name = "query"];
      Returns:
      The query.
    • getQueryOrBuilder

      QueryContainerOrBuilder getQueryOrBuilder()
      optional .org.opensearch.protobufs.QueryContainer query = 7 [json_name = "query"];
    • hasScoreMode

      boolean hasScoreMode()
      optional .org.opensearch.protobufs.FunctionScoreMode score_mode = 8 [json_name = "scoreMode"];
      Returns:
      Whether the scoreMode field is set.
    • getScoreModeValue

      int getScoreModeValue()
      optional .org.opensearch.protobufs.FunctionScoreMode score_mode = 8 [json_name = "scoreMode"];
      Returns:
      The enum numeric value on the wire for scoreMode.
    • getScoreMode

      FunctionScoreMode getScoreMode()
      optional .org.opensearch.protobufs.FunctionScoreMode score_mode = 8 [json_name = "scoreMode"];
      Returns:
      The scoreMode.