Package org.opensearch.protobufs
Interface RescoreQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RescoreQuery,RescoreQuery.Builder
public interface RescoreQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatoptional float query_weight = 2 [json_name = "queryWeight"];.org.opensearch.protobufs.QueryContainer rescore_query = 1 [json_name = "rescoreQuery"];.org.opensearch.protobufs.QueryContainer rescore_query = 1 [json_name = "rescoreQuery"];floatoptional float rescore_query_weight = 3 [json_name = "rescoreQueryWeight"];optional .org.opensearch.protobufs.ScoreMode score_mode = 4 [json_name = "scoreMode"];intoptional .org.opensearch.protobufs.ScoreMode score_mode = 4 [json_name = "scoreMode"];booleanoptional float query_weight = 2 [json_name = "queryWeight"];boolean.org.opensearch.protobufs.QueryContainer rescore_query = 1 [json_name = "rescoreQuery"];booleanoptional float rescore_query_weight = 3 [json_name = "rescoreQueryWeight"];booleanoptional .org.opensearch.protobufs.ScoreMode score_mode = 4 [json_name = "scoreMode"];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
-
hasRescoreQuery
boolean hasRescoreQuery().org.opensearch.protobufs.QueryContainer rescore_query = 1 [json_name = "rescoreQuery"];- Returns:
- Whether the rescoreQuery field is set.
-
getRescoreQuery
QueryContainer getRescoreQuery().org.opensearch.protobufs.QueryContainer rescore_query = 1 [json_name = "rescoreQuery"];- Returns:
- The rescoreQuery.
-
getRescoreQueryOrBuilder
QueryContainerOrBuilder getRescoreQueryOrBuilder().org.opensearch.protobufs.QueryContainer rescore_query = 1 [json_name = "rescoreQuery"]; -
hasQueryWeight
boolean hasQueryWeight()optional float query_weight = 2 [json_name = "queryWeight"];- Returns:
- Whether the queryWeight field is set.
-
getQueryWeight
float getQueryWeight()optional float query_weight = 2 [json_name = "queryWeight"];- Returns:
- The queryWeight.
-
hasRescoreQueryWeight
boolean hasRescoreQueryWeight()optional float rescore_query_weight = 3 [json_name = "rescoreQueryWeight"];- Returns:
- Whether the rescoreQueryWeight field is set.
-
getRescoreQueryWeight
float getRescoreQueryWeight()optional float rescore_query_weight = 3 [json_name = "rescoreQueryWeight"];- Returns:
- The rescoreQueryWeight.
-
hasScoreMode
boolean hasScoreMode()optional .org.opensearch.protobufs.ScoreMode score_mode = 4 [json_name = "scoreMode"];- Returns:
- Whether the scoreMode field is set.
-
getScoreModeValue
int getScoreModeValue()optional .org.opensearch.protobufs.ScoreMode score_mode = 4 [json_name = "scoreMode"];- Returns:
- The enum numeric value on the wire for scoreMode.
-
getScoreMode
ScoreMode getScoreMode()optional .org.opensearch.protobufs.ScoreMode score_mode = 4 [json_name = "scoreMode"];- Returns:
- The scoreMode.
-