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 TypeMethodDescriptionstring analyzer = 3 [json_name = "analyzer"];com.google.protobuf.ByteStringstring analyzer = 3 [json_name = "analyzer"];booleanbool auto_generate_synonyms_phrase_query = 4 [json_name = "autoGenerateSynonymsPhraseQuery"];floatgetBoost()optional float boost = 1 [json_name = "boost"];floatfloat cutoff_frequency = 5 [json_name = "cutoffFrequency"];.Fuzziness fuzziness = 6 [json_name = "fuzziness"];.Fuzziness fuzziness = 6 [json_name = "fuzziness"];.MultiTermQueryRewrite fuzzy_rewrite = 7 [json_name = "fuzzyRewrite"];int.MultiTermQueryRewrite fuzzy_rewrite = 7 [json_name = "fuzzyRewrite"];booleanbool fuzzy_transpositions = 8 [json_name = "fuzzyTranspositions"];booleanbool lenient = 9 [json_name = "lenient"];intint32 max_expansions = 10 [json_name = "maxExpansions"];.MinimumShouldMatch minimum_should_match = 11 [json_name = "minimumShouldMatch"];.MinimumShouldMatch minimum_should_match = 11 [json_name = "minimumShouldMatch"];.Operator operator = 12 [json_name = "operator"];int.Operator operator = 12 [json_name = "operator"];intint32 prefix_length = 13 [json_name = "prefixLength"];getQuery().FieldValue query = 14 [json_name = "query"];.FieldValue query = 14 [json_name = "query"];getXName()optional string x_name = 2 [json_name = "xName"];com.google.protobuf.ByteStringoptional string x_name = 2 [json_name = "xName"];.ZeroTermsQuery zero_terms_query = 15 [json_name = "zeroTermsQuery"];int.ZeroTermsQuery zero_terms_query = 15 [json_name = "zeroTermsQuery"];booleanhasBoost()optional float boost = 1 [json_name = "boost"];boolean.Fuzziness fuzziness = 6 [json_name = "fuzziness"];boolean.MinimumShouldMatch minimum_should_match = 11 [json_name = "minimumShouldMatch"];booleanhasQuery().FieldValue query = 14 [json_name = "query"];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.
-
getAnalyzer
String getAnalyzer()string analyzer = 3 [json_name = "analyzer"];- Returns:
- The analyzer.
-
getAnalyzerBytes
com.google.protobuf.ByteString getAnalyzerBytes()string analyzer = 3 [json_name = "analyzer"];- Returns:
- The bytes for analyzer.
-
getAutoGenerateSynonymsPhraseQuery
boolean getAutoGenerateSynonymsPhraseQuery()bool auto_generate_synonyms_phrase_query = 4 [json_name = "autoGenerateSynonymsPhraseQuery"];- Returns:
- The autoGenerateSynonymsPhraseQuery.
-
getCutoffFrequency
float getCutoffFrequency()float cutoff_frequency = 5 [json_name = "cutoffFrequency"];- Returns:
- The cutoffFrequency.
-
hasFuzziness
boolean hasFuzziness().Fuzziness fuzziness = 6 [json_name = "fuzziness"];- Returns:
- Whether the fuzziness field is set.
-
getFuzziness
Fuzziness getFuzziness().Fuzziness fuzziness = 6 [json_name = "fuzziness"];- Returns:
- The fuzziness.
-
getFuzzinessOrBuilder
FuzzinessOrBuilder getFuzzinessOrBuilder().Fuzziness fuzziness = 6 [json_name = "fuzziness"]; -
getFuzzyRewriteValue
int getFuzzyRewriteValue().MultiTermQueryRewrite fuzzy_rewrite = 7 [json_name = "fuzzyRewrite"];- Returns:
- The enum numeric value on the wire for fuzzyRewrite.
-
getFuzzyRewrite
MultiTermQueryRewrite getFuzzyRewrite().MultiTermQueryRewrite fuzzy_rewrite = 7 [json_name = "fuzzyRewrite"];- Returns:
- The fuzzyRewrite.
-
getFuzzyTranspositions
boolean getFuzzyTranspositions()bool fuzzy_transpositions = 8 [json_name = "fuzzyTranspositions"];- Returns:
- The fuzzyTranspositions.
-
getLenient
boolean getLenient()bool lenient = 9 [json_name = "lenient"];- Returns:
- The lenient.
-
getMaxExpansions
int getMaxExpansions()int32 max_expansions = 10 [json_name = "maxExpansions"];- Returns:
- The maxExpansions.
-
hasMinimumShouldMatch
boolean hasMinimumShouldMatch().MinimumShouldMatch minimum_should_match = 11 [json_name = "minimumShouldMatch"];- Returns:
- Whether the minimumShouldMatch field is set.
-
getMinimumShouldMatch
MinimumShouldMatch getMinimumShouldMatch().MinimumShouldMatch minimum_should_match = 11 [json_name = "minimumShouldMatch"];- Returns:
- The minimumShouldMatch.
-
getMinimumShouldMatchOrBuilder
MinimumShouldMatchOrBuilder getMinimumShouldMatchOrBuilder().MinimumShouldMatch minimum_should_match = 11 [json_name = "minimumShouldMatch"]; -
getOperatorValue
int getOperatorValue().Operator operator = 12 [json_name = "operator"];- Returns:
- The enum numeric value on the wire for operator.
-
getOperator
Operator getOperator().Operator operator = 12 [json_name = "operator"];- Returns:
- The operator.
-
getPrefixLength
int getPrefixLength()int32 prefix_length = 13 [json_name = "prefixLength"];- Returns:
- The prefixLength.
-
hasQuery
boolean hasQuery().FieldValue query = 14 [json_name = "query"];- Returns:
- Whether the query field is set.
-
getQuery
FieldValue getQuery().FieldValue query = 14 [json_name = "query"];- Returns:
- The query.
-
getQueryOrBuilder
FieldValueOrBuilder getQueryOrBuilder().FieldValue query = 14 [json_name = "query"]; -
getZeroTermsQueryValue
int getZeroTermsQueryValue().ZeroTermsQuery zero_terms_query = 15 [json_name = "zeroTermsQuery"];- Returns:
- The enum numeric value on the wire for zeroTermsQuery.
-
getZeroTermsQuery
ZeroTermsQuery getZeroTermsQuery().ZeroTermsQuery zero_terms_query = 15 [json_name = "zeroTermsQuery"];- Returns:
- The zeroTermsQuery.
-