Package org.opensearch.protobufs
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 TypeMethodDescriptionfloatgetBoost()optional float boost = 1 [json_name = "boost"];optional .org.opensearch.protobufs.FunctionBoostMode boost_mode = 3 [json_name = "boostMode"];intoptional .org.opensearch.protobufs.FunctionBoostMode boost_mode = 3 [json_name = "boostMode"];getFunctions(int index) repeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];intrepeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];repeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];getFunctionsOrBuilder(int index) repeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];List<? extends FunctionScoreContainerOrBuilder> repeated .org.opensearch.protobufs.FunctionScoreContainer functions = 4 [json_name = "functions"];floatoptional float max_boost = 5 [json_name = "maxBoost"];floatoptional float min_score = 6 [json_name = "minScore"];getQuery()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"];intoptional .org.opensearch.protobufs.FunctionScoreMode score_mode = 8 [json_name = "scoreMode"];getXName()optional string x_name = 2 [json_name = "xName"];com.google.protobuf.ByteStringoptional string x_name = 2 [json_name = "xName"];booleanhasBoost()optional float boost = 1 [json_name = "boost"];booleanoptional .org.opensearch.protobufs.FunctionBoostMode boost_mode = 3 [json_name = "boostMode"];booleanoptional float max_boost = 5 [json_name = "maxBoost"];booleanoptional float min_score = 6 [json_name = "minScore"];booleanhasQuery()optional .org.opensearch.protobufs.QueryContainer query = 7 [json_name = "query"];booleanoptional .org.opensearch.protobufs.FunctionScoreMode score_mode = 8 [json_name = "scoreMode"];booleanhasXName()optional string x_name = 2 [json_name = "xName"];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
-
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
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
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.
-