Package org.opensearch.protobufs
Interface SimpleQueryStringQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SimpleQueryStringQuery,SimpleQueryStringQuery.Builder
public interface SimpleQueryStringQueryOrBuilder
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 analyze_wildcard = 4 [json_name = "analyzeWildcard"];booleanbool auto_generate_synonyms_phrase_query = 5 [json_name = "autoGenerateSynonymsPhraseQuery"];floatgetBoost()optional float boost = 1 [json_name = "boost"];.Operator default_operator = 6 [json_name = "defaultOperator"];int.Operator default_operator = 6 [json_name = "defaultOperator"];getFields(int index) repeated string fields = 7 [json_name = "fields"];com.google.protobuf.ByteStringgetFieldsBytes(int index) repeated string fields = 7 [json_name = "fields"];intrepeated string fields = 7 [json_name = "fields"];repeated string fields = 7 [json_name = "fields"];getFlags().SimpleQueryStringFlags flags = 8 [json_name = "flags"];.SimpleQueryStringFlags flags = 8 [json_name = "flags"];intint32 fuzzy_max_expansions = 9 [json_name = "fuzzyMaxExpansions"];intint32 fuzzy_prefix_length = 10 [json_name = "fuzzyPrefixLength"];booleanbool fuzzy_transpositions = 11 [json_name = "fuzzyTranspositions"];booleanbool lenient = 12 [json_name = "lenient"];.MinimumShouldMatch minimum_should_match = 13 [json_name = "minimumShouldMatch"];.MinimumShouldMatch minimum_should_match = 13 [json_name = "minimumShouldMatch"];getQuery()string query = 14 [json_name = "query"];com.google.protobuf.ByteStringstring query = 14 [json_name = "query"];string quote_field_suffix = 15 [json_name = "quoteFieldSuffix"];com.google.protobuf.ByteStringstring quote_field_suffix = 15 [json_name = "quoteFieldSuffix"];getXName()optional string x_name = 2 [json_name = "xName"];com.google.protobuf.ByteStringoptional string x_name = 2 [json_name = "xName"];booleanhasBoost()optional float boost = 1 [json_name = "boost"];booleanhasFlags().SimpleQueryStringFlags flags = 8 [json_name = "flags"];boolean.MinimumShouldMatch minimum_should_match = 13 [json_name = "minimumShouldMatch"];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.
-
getAnalyzeWildcard
boolean getAnalyzeWildcard()bool analyze_wildcard = 4 [json_name = "analyzeWildcard"];- Returns:
- The analyzeWildcard.
-
getAutoGenerateSynonymsPhraseQuery
boolean getAutoGenerateSynonymsPhraseQuery()bool auto_generate_synonyms_phrase_query = 5 [json_name = "autoGenerateSynonymsPhraseQuery"];- Returns:
- The autoGenerateSynonymsPhraseQuery.
-
getDefaultOperatorValue
int getDefaultOperatorValue().Operator default_operator = 6 [json_name = "defaultOperator"];- Returns:
- The enum numeric value on the wire for defaultOperator.
-
getDefaultOperator
Operator getDefaultOperator().Operator default_operator = 6 [json_name = "defaultOperator"];- Returns:
- The defaultOperator.
-
getFieldsList
repeated string fields = 7 [json_name = "fields"];- Returns:
- A list containing the fields.
-
getFieldsCount
int getFieldsCount()repeated string fields = 7 [json_name = "fields"];- Returns:
- The count of fields.
-
getFields
repeated string fields = 7 [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 = 7 [json_name = "fields"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fields at the given index.
-
hasFlags
boolean hasFlags().SimpleQueryStringFlags flags = 8 [json_name = "flags"];- Returns:
- Whether the flags field is set.
-
getFlags
SimpleQueryStringFlags getFlags().SimpleQueryStringFlags flags = 8 [json_name = "flags"];- Returns:
- The flags.
-
getFlagsOrBuilder
SimpleQueryStringFlagsOrBuilder getFlagsOrBuilder().SimpleQueryStringFlags flags = 8 [json_name = "flags"]; -
getFuzzyMaxExpansions
int getFuzzyMaxExpansions()int32 fuzzy_max_expansions = 9 [json_name = "fuzzyMaxExpansions"];- Returns:
- The fuzzyMaxExpansions.
-
getFuzzyPrefixLength
int getFuzzyPrefixLength()int32 fuzzy_prefix_length = 10 [json_name = "fuzzyPrefixLength"];- Returns:
- The fuzzyPrefixLength.
-
getFuzzyTranspositions
boolean getFuzzyTranspositions()bool fuzzy_transpositions = 11 [json_name = "fuzzyTranspositions"];- Returns:
- The fuzzyTranspositions.
-
getLenient
boolean getLenient()bool lenient = 12 [json_name = "lenient"];- Returns:
- The lenient.
-
hasMinimumShouldMatch
boolean hasMinimumShouldMatch().MinimumShouldMatch minimum_should_match = 13 [json_name = "minimumShouldMatch"];- Returns:
- Whether the minimumShouldMatch field is set.
-
getMinimumShouldMatch
MinimumShouldMatch getMinimumShouldMatch().MinimumShouldMatch minimum_should_match = 13 [json_name = "minimumShouldMatch"];- Returns:
- The minimumShouldMatch.
-
getMinimumShouldMatchOrBuilder
MinimumShouldMatchOrBuilder getMinimumShouldMatchOrBuilder().MinimumShouldMatch minimum_should_match = 13 [json_name = "minimumShouldMatch"]; -
getQuery
String getQuery()string query = 14 [json_name = "query"];- Returns:
- The query.
-
getQueryBytes
com.google.protobuf.ByteString getQueryBytes()string query = 14 [json_name = "query"];- Returns:
- The bytes for query.
-
getQuoteFieldSuffix
String getQuoteFieldSuffix()string quote_field_suffix = 15 [json_name = "quoteFieldSuffix"];- Returns:
- The quoteFieldSuffix.
-
getQuoteFieldSuffixBytes
com.google.protobuf.ByteString getQuoteFieldSuffixBytes()string quote_field_suffix = 15 [json_name = "quoteFieldSuffix"];- Returns:
- The bytes for quoteFieldSuffix.
-