Package org.opensearch.protobufs
Interface MultiMatchQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MultiMatchQuery,MultiMatchQuery.Builder
public interface MultiMatchQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional string analyzer = 4 [json_name = "analyzer"];com.google.protobuf.ByteStringoptional string analyzer = 4 [json_name = "analyzer"];booleanoptional bool auto_generate_synonyms_phrase_query = 5 [json_name = "autoGenerateSynonymsPhraseQuery"];floatgetBoost()optional float boost = 2 [json_name = "boost"];getFields(int index) repeated string fields = 6 [json_name = "fields"];com.google.protobuf.ByteStringgetFieldsBytes(int index) repeated string fields = 6 [json_name = "fields"];intrepeated string fields = 6 [json_name = "fields"];repeated string fields = 6 [json_name = "fields"];optional string fuzzy_rewrite = 7 [json_name = "fuzzyRewrite"];com.google.protobuf.ByteStringoptional string fuzzy_rewrite = 7 [json_name = "fuzzyRewrite"];booleanoptional bool fuzzy_transpositions = 8 [json_name = "fuzzyTranspositions"];booleanoptional bool lenient = 9 [json_name = "lenient"];intoptional int32 max_expansions = 10 [json_name = "maxExpansions"];optional .MinimumShouldMatch minimum_should_match = 11 [json_name = "minimumShouldMatch"];optional .MinimumShouldMatch minimum_should_match = 11 [json_name = "minimumShouldMatch"];optional .Operator operator = 12 [json_name = "operator"];intoptional .Operator operator = 12 [json_name = "operator"];intoptional int32 prefix_length = 13 [json_name = "prefixLength"];getQuery()string query = 1 [json_name = "query"];com.google.protobuf.ByteStringstring query = 1 [json_name = "query"];intgetSlop()optional int32 slop = 14 [json_name = "slop"];floatoptional float tie_breaker = 15 [json_name = "tieBreaker"];getType()optional .TextQueryType type = 16 [json_name = "type"];intoptional .TextQueryType type = 16 [json_name = "type"];getXName()optional string x_name = 3 [json_name = "xName"];com.google.protobuf.ByteStringoptional string x_name = 3 [json_name = "xName"];optional .ZeroTermsQuery zero_terms_query = 17 [json_name = "zeroTermsQuery"];intoptional .ZeroTermsQuery zero_terms_query = 17 [json_name = "zeroTermsQuery"];booleanoptional string analyzer = 4 [json_name = "analyzer"];booleanoptional bool auto_generate_synonyms_phrase_query = 5 [json_name = "autoGenerateSynonymsPhraseQuery"];booleanhasBoost()optional float boost = 2 [json_name = "boost"];booleanoptional string fuzzy_rewrite = 7 [json_name = "fuzzyRewrite"];booleanoptional bool fuzzy_transpositions = 8 [json_name = "fuzzyTranspositions"];booleanoptional bool lenient = 9 [json_name = "lenient"];booleanoptional int32 max_expansions = 10 [json_name = "maxExpansions"];booleanoptional .MinimumShouldMatch minimum_should_match = 11 [json_name = "minimumShouldMatch"];booleanoptional .Operator operator = 12 [json_name = "operator"];booleanoptional int32 prefix_length = 13 [json_name = "prefixLength"];booleanhasSlop()optional int32 slop = 14 [json_name = "slop"];booleanoptional float tie_breaker = 15 [json_name = "tieBreaker"];booleanhasType()optional .TextQueryType type = 16 [json_name = "type"];booleanhasXName()optional string x_name = 3 [json_name = "xName"];booleanoptional .ZeroTermsQuery zero_terms_query = 17 [json_name = "zeroTermsQuery"];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 [json_name = "query"];- Returns:
- The query.
-
getQueryBytes
com.google.protobuf.ByteString getQueryBytes()string query = 1 [json_name = "query"];- Returns:
- The bytes for query.
-
hasBoost
boolean hasBoost()optional float boost = 2 [json_name = "boost"];- Returns:
- Whether the boost field is set.
-
getBoost
float getBoost()optional float boost = 2 [json_name = "boost"];- Returns:
- The boost.
-
hasXName
boolean hasXName()optional string x_name = 3 [json_name = "xName"];- Returns:
- Whether the xName field is set.
-
getXName
String getXName()optional string x_name = 3 [json_name = "xName"];- Returns:
- The xName.
-
getXNameBytes
com.google.protobuf.ByteString getXNameBytes()optional string x_name = 3 [json_name = "xName"];- Returns:
- The bytes for xName.
-
hasAnalyzer
boolean hasAnalyzer()optional string analyzer = 4 [json_name = "analyzer"];- Returns:
- Whether the analyzer field is set.
-
getAnalyzer
String getAnalyzer()optional string analyzer = 4 [json_name = "analyzer"];- Returns:
- The analyzer.
-
getAnalyzerBytes
com.google.protobuf.ByteString getAnalyzerBytes()optional string analyzer = 4 [json_name = "analyzer"];- Returns:
- The bytes for analyzer.
-
hasAutoGenerateSynonymsPhraseQuery
boolean hasAutoGenerateSynonymsPhraseQuery()optional bool auto_generate_synonyms_phrase_query = 5 [json_name = "autoGenerateSynonymsPhraseQuery"];- Returns:
- Whether the autoGenerateSynonymsPhraseQuery field is set.
-
getAutoGenerateSynonymsPhraseQuery
boolean getAutoGenerateSynonymsPhraseQuery()optional bool auto_generate_synonyms_phrase_query = 5 [json_name = "autoGenerateSynonymsPhraseQuery"];- Returns:
- The autoGenerateSynonymsPhraseQuery.
-
getFieldsList
repeated string fields = 6 [json_name = "fields"];- Returns:
- A list containing the fields.
-
getFieldsCount
int getFieldsCount()repeated string fields = 6 [json_name = "fields"];- Returns:
- The count of fields.
-
getFields
repeated string fields = 6 [json_name = "fields"];- Parameters:
index- The index of the element to return.- Returns:
- The fields at the given index.
-
getFieldsBytes
com.google.protobuf.ByteString getFieldsBytes(int index) repeated string fields = 6 [json_name = "fields"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fields at the given index.
-
hasFuzzyRewrite
boolean hasFuzzyRewrite()optional string fuzzy_rewrite = 7 [json_name = "fuzzyRewrite"];- Returns:
- Whether the fuzzyRewrite field is set.
-
getFuzzyRewrite
String getFuzzyRewrite()optional string fuzzy_rewrite = 7 [json_name = "fuzzyRewrite"];- Returns:
- The fuzzyRewrite.
-
getFuzzyRewriteBytes
com.google.protobuf.ByteString getFuzzyRewriteBytes()optional string fuzzy_rewrite = 7 [json_name = "fuzzyRewrite"];- Returns:
- The bytes for fuzzyRewrite.
-
hasFuzzyTranspositions
boolean hasFuzzyTranspositions()optional bool fuzzy_transpositions = 8 [json_name = "fuzzyTranspositions"];- Returns:
- Whether the fuzzyTranspositions field is set.
-
getFuzzyTranspositions
boolean getFuzzyTranspositions()optional bool fuzzy_transpositions = 8 [json_name = "fuzzyTranspositions"];- Returns:
- The fuzzyTranspositions.
-
hasLenient
boolean hasLenient()optional bool lenient = 9 [json_name = "lenient"];- Returns:
- Whether the lenient field is set.
-
getLenient
boolean getLenient()optional bool lenient = 9 [json_name = "lenient"];- Returns:
- The lenient.
-
hasMaxExpansions
boolean hasMaxExpansions()optional int32 max_expansions = 10 [json_name = "maxExpansions"];- Returns:
- Whether the maxExpansions field is set.
-
getMaxExpansions
int getMaxExpansions()optional int32 max_expansions = 10 [json_name = "maxExpansions"];- Returns:
- The maxExpansions.
-
hasMinimumShouldMatch
boolean hasMinimumShouldMatch()optional .MinimumShouldMatch minimum_should_match = 11 [json_name = "minimumShouldMatch"];- Returns:
- Whether the minimumShouldMatch field is set.
-
getMinimumShouldMatch
MinimumShouldMatch getMinimumShouldMatch()optional .MinimumShouldMatch minimum_should_match = 11 [json_name = "minimumShouldMatch"];- Returns:
- The minimumShouldMatch.
-
getMinimumShouldMatchOrBuilder
MinimumShouldMatchOrBuilder getMinimumShouldMatchOrBuilder()optional .MinimumShouldMatch minimum_should_match = 11 [json_name = "minimumShouldMatch"]; -
hasOperator
boolean hasOperator()optional .Operator operator = 12 [json_name = "operator"];- Returns:
- Whether the operator field is set.
-
getOperatorValue
int getOperatorValue()optional .Operator operator = 12 [json_name = "operator"];- Returns:
- The enum numeric value on the wire for operator.
-
getOperator
Operator getOperator()optional .Operator operator = 12 [json_name = "operator"];- Returns:
- The operator.
-
hasPrefixLength
boolean hasPrefixLength()optional int32 prefix_length = 13 [json_name = "prefixLength"];- Returns:
- Whether the prefixLength field is set.
-
getPrefixLength
int getPrefixLength()optional int32 prefix_length = 13 [json_name = "prefixLength"];- Returns:
- The prefixLength.
-
hasSlop
boolean hasSlop()optional int32 slop = 14 [json_name = "slop"];- Returns:
- Whether the slop field is set.
-
getSlop
int getSlop()optional int32 slop = 14 [json_name = "slop"];- Returns:
- The slop.
-
hasTieBreaker
boolean hasTieBreaker()optional float tie_breaker = 15 [json_name = "tieBreaker"];- Returns:
- Whether the tieBreaker field is set.
-
getTieBreaker
float getTieBreaker()optional float tie_breaker = 15 [json_name = "tieBreaker"];- Returns:
- The tieBreaker.
-
hasType
boolean hasType()optional .TextQueryType type = 16 [json_name = "type"];- Returns:
- Whether the type field is set.
-
getTypeValue
int getTypeValue()optional .TextQueryType type = 16 [json_name = "type"];- Returns:
- The enum numeric value on the wire for type.
-
getType
TextQueryType getType()optional .TextQueryType type = 16 [json_name = "type"];- Returns:
- The type.
-
hasZeroTermsQuery
boolean hasZeroTermsQuery()optional .ZeroTermsQuery zero_terms_query = 17 [json_name = "zeroTermsQuery"];- Returns:
- Whether the zeroTermsQuery field is set.
-
getZeroTermsQueryValue
int getZeroTermsQueryValue()optional .ZeroTermsQuery zero_terms_query = 17 [json_name = "zeroTermsQuery"];- Returns:
- The enum numeric value on the wire for zeroTermsQuery.
-
getZeroTermsQuery
ZeroTermsQuery getZeroTermsQuery()optional .ZeroTermsQuery zero_terms_query = 17 [json_name = "zeroTermsQuery"];- Returns:
- The zeroTermsQuery.
-