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 .org.opensearch.protobufs.Fuzziness fuzziness = 8 [json_name = "fuzziness"];optional .org.opensearch.protobufs.Fuzziness fuzziness = 8 [json_name = "fuzziness"];optional string fuzzy_rewrite = 19 [json_name = "fuzzyRewrite"];com.google.protobuf.ByteStringoptional string fuzzy_rewrite = 19 [json_name = "fuzzyRewrite"];Deprecated.org.opensearch.protobufs.MultiMatchQuery.fuzzy_rewrite_deprecated is deprecated.intDeprecated.org.opensearch.protobufs.MultiMatchQuery.fuzzy_rewrite_deprecated is deprecated.booleanoptional bool fuzzy_transpositions = 9 [json_name = "fuzzyTranspositions"];booleanoptional bool lenient = 10 [json_name = "lenient"];intoptional int32 max_expansions = 11 [json_name = "maxExpansions"];optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 12 [json_name = "minimumShouldMatch"];optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 12 [json_name = "minimumShouldMatch"];optional .org.opensearch.protobufs.Operator operator = 13 [json_name = "operator"];intoptional .org.opensearch.protobufs.Operator operator = 13 [json_name = "operator"];intoptional int32 prefix_length = 14 [json_name = "prefixLength"];getQuery()string query = 1 [json_name = "query"];com.google.protobuf.ByteStringstring query = 1 [json_name = "query"];intgetSlop()optional int32 slop = 15 [json_name = "slop"];floatoptional float tie_breaker = 16 [json_name = "tieBreaker"];getType()optional .org.opensearch.protobufs.TextQueryType type = 17 [json_name = "type"];intoptional .org.opensearch.protobufs.TextQueryType type = 17 [json_name = "type"];getXName()optional string x_name = 3 [json_name = "xName"];com.google.protobuf.ByteStringoptional string x_name = 3 [json_name = "xName"];optional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 18 [json_name = "zeroTermsQuery"];intoptional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 18 [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 .org.opensearch.protobufs.Fuzziness fuzziness = 8 [json_name = "fuzziness"];booleanoptional string fuzzy_rewrite = 19 [json_name = "fuzzyRewrite"];booleanDeprecated.org.opensearch.protobufs.MultiMatchQuery.fuzzy_rewrite_deprecated is deprecated.booleanoptional bool fuzzy_transpositions = 9 [json_name = "fuzzyTranspositions"];booleanoptional bool lenient = 10 [json_name = "lenient"];booleanoptional int32 max_expansions = 11 [json_name = "maxExpansions"];booleanoptional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 12 [json_name = "minimumShouldMatch"];booleanoptional .org.opensearch.protobufs.Operator operator = 13 [json_name = "operator"];booleanoptional int32 prefix_length = 14 [json_name = "prefixLength"];booleanhasSlop()optional int32 slop = 15 [json_name = "slop"];booleanoptional float tie_breaker = 16 [json_name = "tieBreaker"];booleanhasType()optional .org.opensearch.protobufs.TextQueryType type = 17 [json_name = "type"];booleanhasXName()optional string x_name = 3 [json_name = "xName"];booleanoptional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 18 [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.
-
hasFuzzyRewriteDeprecated
Deprecated.org.opensearch.protobufs.MultiMatchQuery.fuzzy_rewrite_deprecated is deprecated. See protos/schemas/common.proto;l=0optional .org.opensearch.protobufs.MultiTermQueryRewrite fuzzy_rewrite_deprecated = 7 [json_name = "fuzzyRewriteDeprecated", deprecated = true];- Returns:
- Whether the fuzzyRewriteDeprecated field is set.
-
getFuzzyRewriteDeprecatedValue
Deprecated.org.opensearch.protobufs.MultiMatchQuery.fuzzy_rewrite_deprecated is deprecated. See protos/schemas/common.proto;l=0optional .org.opensearch.protobufs.MultiTermQueryRewrite fuzzy_rewrite_deprecated = 7 [json_name = "fuzzyRewriteDeprecated", deprecated = true];- Returns:
- The enum numeric value on the wire for fuzzyRewriteDeprecated.
-
getFuzzyRewriteDeprecated
Deprecated.org.opensearch.protobufs.MultiMatchQuery.fuzzy_rewrite_deprecated is deprecated. See protos/schemas/common.proto;l=0optional .org.opensearch.protobufs.MultiTermQueryRewrite fuzzy_rewrite_deprecated = 7 [json_name = "fuzzyRewriteDeprecated", deprecated = true];- Returns:
- The fuzzyRewriteDeprecated.
-
hasFuzziness
boolean hasFuzziness()optional .org.opensearch.protobufs.Fuzziness fuzziness = 8 [json_name = "fuzziness"];- Returns:
- Whether the fuzziness field is set.
-
getFuzziness
Fuzziness getFuzziness()optional .org.opensearch.protobufs.Fuzziness fuzziness = 8 [json_name = "fuzziness"];- Returns:
- The fuzziness.
-
getFuzzinessOrBuilder
FuzzinessOrBuilder getFuzzinessOrBuilder()optional .org.opensearch.protobufs.Fuzziness fuzziness = 8 [json_name = "fuzziness"]; -
hasFuzzyTranspositions
boolean hasFuzzyTranspositions()optional bool fuzzy_transpositions = 9 [json_name = "fuzzyTranspositions"];- Returns:
- Whether the fuzzyTranspositions field is set.
-
getFuzzyTranspositions
boolean getFuzzyTranspositions()optional bool fuzzy_transpositions = 9 [json_name = "fuzzyTranspositions"];- Returns:
- The fuzzyTranspositions.
-
hasLenient
boolean hasLenient()optional bool lenient = 10 [json_name = "lenient"];- Returns:
- Whether the lenient field is set.
-
getLenient
boolean getLenient()optional bool lenient = 10 [json_name = "lenient"];- Returns:
- The lenient.
-
hasMaxExpansions
boolean hasMaxExpansions()optional int32 max_expansions = 11 [json_name = "maxExpansions"];- Returns:
- Whether the maxExpansions field is set.
-
getMaxExpansions
int getMaxExpansions()optional int32 max_expansions = 11 [json_name = "maxExpansions"];- Returns:
- The maxExpansions.
-
hasMinimumShouldMatch
boolean hasMinimumShouldMatch()optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 12 [json_name = "minimumShouldMatch"];- Returns:
- Whether the minimumShouldMatch field is set.
-
getMinimumShouldMatch
MinimumShouldMatch getMinimumShouldMatch()optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 12 [json_name = "minimumShouldMatch"];- Returns:
- The minimumShouldMatch.
-
getMinimumShouldMatchOrBuilder
MinimumShouldMatchOrBuilder getMinimumShouldMatchOrBuilder()optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 12 [json_name = "minimumShouldMatch"]; -
hasOperator
boolean hasOperator()optional .org.opensearch.protobufs.Operator operator = 13 [json_name = "operator"];- Returns:
- Whether the operator field is set.
-
getOperatorValue
int getOperatorValue()optional .org.opensearch.protobufs.Operator operator = 13 [json_name = "operator"];- Returns:
- The enum numeric value on the wire for operator.
-
getOperator
Operator getOperator()optional .org.opensearch.protobufs.Operator operator = 13 [json_name = "operator"];- Returns:
- The operator.
-
hasPrefixLength
boolean hasPrefixLength()optional int32 prefix_length = 14 [json_name = "prefixLength"];- Returns:
- Whether the prefixLength field is set.
-
getPrefixLength
int getPrefixLength()optional int32 prefix_length = 14 [json_name = "prefixLength"];- Returns:
- The prefixLength.
-
hasSlop
boolean hasSlop()optional int32 slop = 15 [json_name = "slop"];- Returns:
- Whether the slop field is set.
-
getSlop
int getSlop()optional int32 slop = 15 [json_name = "slop"];- Returns:
- The slop.
-
hasTieBreaker
boolean hasTieBreaker()optional float tie_breaker = 16 [json_name = "tieBreaker"];- Returns:
- Whether the tieBreaker field is set.
-
getTieBreaker
float getTieBreaker()optional float tie_breaker = 16 [json_name = "tieBreaker"];- Returns:
- The tieBreaker.
-
hasType
boolean hasType()optional .org.opensearch.protobufs.TextQueryType type = 17 [json_name = "type"];- Returns:
- Whether the type field is set.
-
getTypeValue
int getTypeValue()optional .org.opensearch.protobufs.TextQueryType type = 17 [json_name = "type"];- Returns:
- The enum numeric value on the wire for type.
-
getType
TextQueryType getType()optional .org.opensearch.protobufs.TextQueryType type = 17 [json_name = "type"];- Returns:
- The type.
-
hasZeroTermsQuery
boolean hasZeroTermsQuery()optional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 18 [json_name = "zeroTermsQuery"];- Returns:
- Whether the zeroTermsQuery field is set.
-
getZeroTermsQueryValue
int getZeroTermsQueryValue()optional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 18 [json_name = "zeroTermsQuery"];- Returns:
- The enum numeric value on the wire for zeroTermsQuery.
-
getZeroTermsQuery
ZeroTermsQuery getZeroTermsQuery()optional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 18 [json_name = "zeroTermsQuery"];- Returns:
- The zeroTermsQuery.
-
hasFuzzyRewrite
boolean hasFuzzyRewrite()optional string fuzzy_rewrite = 19 [json_name = "fuzzyRewrite"];- Returns:
- Whether the fuzzyRewrite field is set.
-
getFuzzyRewrite
String getFuzzyRewrite()optional string fuzzy_rewrite = 19 [json_name = "fuzzyRewrite"];- Returns:
- The fuzzyRewrite.
-
getFuzzyRewriteBytes
com.google.protobuf.ByteString getFuzzyRewriteBytes()optional string fuzzy_rewrite = 19 [json_name = "fuzzyRewrite"];- Returns:
- The bytes for fuzzyRewrite.
-