Package org.opensearch.protobufs
Interface MatchQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MatchQuery,MatchQuery.Builder
public interface MatchQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional string analyzer = 5 [json_name = "analyzer"];com.google.protobuf.ByteStringoptional string analyzer = 5 [json_name = "analyzer"];booleanoptional bool auto_generate_synonyms_phrase_query = 6 [json_name = "autoGenerateSynonymsPhraseQuery"];floatgetBoost()optional float boost = 3 [json_name = "boost"];getField()string field = 1 [json_name = "field"];com.google.protobuf.ByteStringstring field = 1 [json_name = "field"];optional .org.opensearch.protobufs.Fuzziness fuzziness = 7 [json_name = "fuzziness"];optional .org.opensearch.protobufs.Fuzziness fuzziness = 7 [json_name = "fuzziness"];optional string fuzzy_rewrite = 16 [json_name = "fuzzyRewrite"];com.google.protobuf.ByteStringoptional string fuzzy_rewrite = 16 [json_name = "fuzzyRewrite"];Deprecated.org.opensearch.protobufs.MatchQuery.fuzzy_rewrite_deprecated is deprecated.intDeprecated.org.opensearch.protobufs.MatchQuery.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().org.opensearch.protobufs.FieldValue query = 2 [json_name = "query"];.org.opensearch.protobufs.FieldValue query = 2 [json_name = "query"];getXName()optional string x_name = 4 [json_name = "xName"];com.google.protobuf.ByteStringoptional string x_name = 4 [json_name = "xName"];optional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 15 [json_name = "zeroTermsQuery"];intoptional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 15 [json_name = "zeroTermsQuery"];booleanoptional string analyzer = 5 [json_name = "analyzer"];booleanoptional bool auto_generate_synonyms_phrase_query = 6 [json_name = "autoGenerateSynonymsPhraseQuery"];booleanhasBoost()optional float boost = 3 [json_name = "boost"];booleanoptional .org.opensearch.protobufs.Fuzziness fuzziness = 7 [json_name = "fuzziness"];booleanoptional string fuzzy_rewrite = 16 [json_name = "fuzzyRewrite"];booleanDeprecated.org.opensearch.protobufs.MatchQuery.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"];booleanhasQuery().org.opensearch.protobufs.FieldValue query = 2 [json_name = "query"];booleanhasXName()optional string x_name = 4 [json_name = "xName"];booleanoptional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 15 [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
-
getField
String getField()string field = 1 [json_name = "field"];- Returns:
- The field.
-
getFieldBytes
com.google.protobuf.ByteString getFieldBytes()string field = 1 [json_name = "field"];- Returns:
- The bytes for field.
-
hasQuery
boolean hasQuery().org.opensearch.protobufs.FieldValue query = 2 [json_name = "query"];- Returns:
- Whether the query field is set.
-
getQuery
FieldValue getQuery().org.opensearch.protobufs.FieldValue query = 2 [json_name = "query"];- Returns:
- The query.
-
getQueryOrBuilder
FieldValueOrBuilder getQueryOrBuilder().org.opensearch.protobufs.FieldValue query = 2 [json_name = "query"]; -
hasBoost
boolean hasBoost()optional float boost = 3 [json_name = "boost"];- Returns:
- Whether the boost field is set.
-
getBoost
float getBoost()optional float boost = 3 [json_name = "boost"];- Returns:
- The boost.
-
hasXName
boolean hasXName()optional string x_name = 4 [json_name = "xName"];- Returns:
- Whether the xName field is set.
-
getXName
String getXName()optional string x_name = 4 [json_name = "xName"];- Returns:
- The xName.
-
getXNameBytes
com.google.protobuf.ByteString getXNameBytes()optional string x_name = 4 [json_name = "xName"];- Returns:
- The bytes for xName.
-
hasAnalyzer
boolean hasAnalyzer()optional string analyzer = 5 [json_name = "analyzer"];- Returns:
- Whether the analyzer field is set.
-
getAnalyzer
String getAnalyzer()optional string analyzer = 5 [json_name = "analyzer"];- Returns:
- The analyzer.
-
getAnalyzerBytes
com.google.protobuf.ByteString getAnalyzerBytes()optional string analyzer = 5 [json_name = "analyzer"];- Returns:
- The bytes for analyzer.
-
hasAutoGenerateSynonymsPhraseQuery
boolean hasAutoGenerateSynonymsPhraseQuery()optional bool auto_generate_synonyms_phrase_query = 6 [json_name = "autoGenerateSynonymsPhraseQuery"];- Returns:
- Whether the autoGenerateSynonymsPhraseQuery field is set.
-
getAutoGenerateSynonymsPhraseQuery
boolean getAutoGenerateSynonymsPhraseQuery()optional bool auto_generate_synonyms_phrase_query = 6 [json_name = "autoGenerateSynonymsPhraseQuery"];- Returns:
- The autoGenerateSynonymsPhraseQuery.
-
hasFuzziness
boolean hasFuzziness()optional .org.opensearch.protobufs.Fuzziness fuzziness = 7 [json_name = "fuzziness"];- Returns:
- Whether the fuzziness field is set.
-
getFuzziness
Fuzziness getFuzziness()optional .org.opensearch.protobufs.Fuzziness fuzziness = 7 [json_name = "fuzziness"];- Returns:
- The fuzziness.
-
getFuzzinessOrBuilder
FuzzinessOrBuilder getFuzzinessOrBuilder()optional .org.opensearch.protobufs.Fuzziness fuzziness = 7 [json_name = "fuzziness"]; -
hasFuzzyRewriteDeprecated
Deprecated.org.opensearch.protobufs.MatchQuery.fuzzy_rewrite_deprecated is deprecated. See protos/schemas/common.proto;l=0optional .org.opensearch.protobufs.MultiTermQueryRewrite fuzzy_rewrite_deprecated = 8 [json_name = "fuzzyRewriteDeprecated", deprecated = true];- Returns:
- Whether the fuzzyRewriteDeprecated field is set.
-
getFuzzyRewriteDeprecatedValue
Deprecated.org.opensearch.protobufs.MatchQuery.fuzzy_rewrite_deprecated is deprecated. See protos/schemas/common.proto;l=0optional .org.opensearch.protobufs.MultiTermQueryRewrite fuzzy_rewrite_deprecated = 8 [json_name = "fuzzyRewriteDeprecated", deprecated = true];- Returns:
- The enum numeric value on the wire for fuzzyRewriteDeprecated.
-
getFuzzyRewriteDeprecated
Deprecated.org.opensearch.protobufs.MatchQuery.fuzzy_rewrite_deprecated is deprecated. See protos/schemas/common.proto;l=0optional .org.opensearch.protobufs.MultiTermQueryRewrite fuzzy_rewrite_deprecated = 8 [json_name = "fuzzyRewriteDeprecated", deprecated = true];- Returns:
- The fuzzyRewriteDeprecated.
-
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.
-
hasZeroTermsQuery
boolean hasZeroTermsQuery()optional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 15 [json_name = "zeroTermsQuery"];- Returns:
- Whether the zeroTermsQuery field is set.
-
getZeroTermsQueryValue
int getZeroTermsQueryValue()optional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 15 [json_name = "zeroTermsQuery"];- Returns:
- The enum numeric value on the wire for zeroTermsQuery.
-
getZeroTermsQuery
ZeroTermsQuery getZeroTermsQuery()optional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 15 [json_name = "zeroTermsQuery"];- Returns:
- The zeroTermsQuery.
-
hasFuzzyRewrite
boolean hasFuzzyRewrite()optional string fuzzy_rewrite = 16 [json_name = "fuzzyRewrite"];- Returns:
- Whether the fuzzyRewrite field is set.
-
getFuzzyRewrite
String getFuzzyRewrite()optional string fuzzy_rewrite = 16 [json_name = "fuzzyRewrite"];- Returns:
- The fuzzyRewrite.
-
getFuzzyRewriteBytes
com.google.protobuf.ByteString getFuzzyRewriteBytes()optional string fuzzy_rewrite = 16 [json_name = "fuzzyRewrite"];- Returns:
- The bytes for fuzzyRewrite.
-