Package org.opensearch.protobufs
Interface QueryStringQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueryStringQuery,QueryStringQuery.Builder
public interface QueryStringQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbool allow_leading_wildcard = 3 [json_name = "allowLeadingWildcard"];string analyzer = 4 [json_name = "analyzer"];com.google.protobuf.ByteStringstring analyzer = 4 [json_name = "analyzer"];booleanbool analyze_wildcard = 5 [json_name = "analyzeWildcard"];booleanbool auto_generate_synonyms_phrase_query = 6 [json_name = "autoGenerateSynonymsPhraseQuery"];floatgetBoost()optional float boost = 1 [json_name = "boost"];string default_field = 7 [json_name = "defaultField"];com.google.protobuf.ByteStringstring default_field = 7 [json_name = "defaultField"];.Operator default_operator = 8 [json_name = "defaultOperator"];int.Operator default_operator = 8 [json_name = "defaultOperator"];booleanbool enable_position_increments = 9 [json_name = "enablePositionIncrements"];booleanbool escape = 10 [json_name = "escape"];getFields(int index) repeated string fields = 11 [json_name = "fields"];com.google.protobuf.ByteStringgetFieldsBytes(int index) repeated string fields = 11 [json_name = "fields"];intrepeated string fields = 11 [json_name = "fields"];repeated string fields = 11 [json_name = "fields"];.Fuzziness fuzziness = 12 [json_name = "fuzziness"];.Fuzziness fuzziness = 12 [json_name = "fuzziness"];intint32 fuzzy_max_expansions = 13 [json_name = "fuzzyMaxExpansions"];intint32 fuzzy_prefix_length = 14 [json_name = "fuzzyPrefixLength"];.MultiTermQueryRewrite fuzzy_rewrite = 15 [json_name = "fuzzyRewrite"];int.MultiTermQueryRewrite fuzzy_rewrite = 15 [json_name = "fuzzyRewrite"];booleanbool fuzzy_transpositions = 16 [json_name = "fuzzyTranspositions"];booleanbool lenient = 17 [json_name = "lenient"];intint32 max_determinized_states = 18 [json_name = "maxDeterminizedStates"];.MinimumShouldMatch minimum_should_match = 19 [json_name = "minimumShouldMatch"];.MinimumShouldMatch minimum_should_match = 19 [json_name = "minimumShouldMatch"];intint32 phrase_slop = 20 [json_name = "phraseSlop"];getQuery()string query = 21 [json_name = "query"];com.google.protobuf.ByteStringstring query = 21 [json_name = "query"];string quote_analyzer = 22 [json_name = "quoteAnalyzer"];com.google.protobuf.ByteStringstring quote_analyzer = 22 [json_name = "quoteAnalyzer"];string quote_field_suffix = 23 [json_name = "quoteFieldSuffix"];com.google.protobuf.ByteStringstring quote_field_suffix = 23 [json_name = "quoteFieldSuffix"];.MultiTermQueryRewrite rewrite = 24 [json_name = "rewrite"];int.MultiTermQueryRewrite rewrite = 24 [json_name = "rewrite"];floatfloat tie_breaker = 25 [json_name = "tieBreaker"];string time_zone = 26 [json_name = "timeZone"];com.google.protobuf.ByteStringstring time_zone = 26 [json_name = "timeZone"];getType().TextQueryType type = 27 [json_name = "type"];int.TextQueryType type = 27 [json_name = "type"];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"];boolean.Fuzziness fuzziness = 12 [json_name = "fuzziness"];boolean.MinimumShouldMatch minimum_should_match = 19 [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.
-
getAllowLeadingWildcard
boolean getAllowLeadingWildcard()bool allow_leading_wildcard = 3 [json_name = "allowLeadingWildcard"];- Returns:
- The allowLeadingWildcard.
-
getAnalyzer
String getAnalyzer()string analyzer = 4 [json_name = "analyzer"];- Returns:
- The analyzer.
-
getAnalyzerBytes
com.google.protobuf.ByteString getAnalyzerBytes()string analyzer = 4 [json_name = "analyzer"];- Returns:
- The bytes for analyzer.
-
getAnalyzeWildcard
boolean getAnalyzeWildcard()bool analyze_wildcard = 5 [json_name = "analyzeWildcard"];- Returns:
- The analyzeWildcard.
-
getAutoGenerateSynonymsPhraseQuery
boolean getAutoGenerateSynonymsPhraseQuery()bool auto_generate_synonyms_phrase_query = 6 [json_name = "autoGenerateSynonymsPhraseQuery"];- Returns:
- The autoGenerateSynonymsPhraseQuery.
-
getDefaultField
String getDefaultField()string default_field = 7 [json_name = "defaultField"];- Returns:
- The defaultField.
-
getDefaultFieldBytes
com.google.protobuf.ByteString getDefaultFieldBytes()string default_field = 7 [json_name = "defaultField"];- Returns:
- The bytes for defaultField.
-
getDefaultOperatorValue
int getDefaultOperatorValue().Operator default_operator = 8 [json_name = "defaultOperator"];- Returns:
- The enum numeric value on the wire for defaultOperator.
-
getDefaultOperator
Operator getDefaultOperator().Operator default_operator = 8 [json_name = "defaultOperator"];- Returns:
- The defaultOperator.
-
getEnablePositionIncrements
boolean getEnablePositionIncrements()bool enable_position_increments = 9 [json_name = "enablePositionIncrements"];- Returns:
- The enablePositionIncrements.
-
getEscape
boolean getEscape()bool escape = 10 [json_name = "escape"];- Returns:
- The escape.
-
getFieldsList
repeated string fields = 11 [json_name = "fields"];- Returns:
- A list containing the fields.
-
getFieldsCount
int getFieldsCount()repeated string fields = 11 [json_name = "fields"];- Returns:
- The count of fields.
-
getFields
repeated string fields = 11 [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 = 11 [json_name = "fields"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fields at the given index.
-
hasFuzziness
boolean hasFuzziness().Fuzziness fuzziness = 12 [json_name = "fuzziness"];- Returns:
- Whether the fuzziness field is set.
-
getFuzziness
Fuzziness getFuzziness().Fuzziness fuzziness = 12 [json_name = "fuzziness"];- Returns:
- The fuzziness.
-
getFuzzinessOrBuilder
FuzzinessOrBuilder getFuzzinessOrBuilder().Fuzziness fuzziness = 12 [json_name = "fuzziness"]; -
getFuzzyMaxExpansions
int getFuzzyMaxExpansions()int32 fuzzy_max_expansions = 13 [json_name = "fuzzyMaxExpansions"];- Returns:
- The fuzzyMaxExpansions.
-
getFuzzyPrefixLength
int getFuzzyPrefixLength()int32 fuzzy_prefix_length = 14 [json_name = "fuzzyPrefixLength"];- Returns:
- The fuzzyPrefixLength.
-
getFuzzyRewriteValue
int getFuzzyRewriteValue().MultiTermQueryRewrite fuzzy_rewrite = 15 [json_name = "fuzzyRewrite"];- Returns:
- The enum numeric value on the wire for fuzzyRewrite.
-
getFuzzyRewrite
MultiTermQueryRewrite getFuzzyRewrite().MultiTermQueryRewrite fuzzy_rewrite = 15 [json_name = "fuzzyRewrite"];- Returns:
- The fuzzyRewrite.
-
getFuzzyTranspositions
boolean getFuzzyTranspositions()bool fuzzy_transpositions = 16 [json_name = "fuzzyTranspositions"];- Returns:
- The fuzzyTranspositions.
-
getLenient
boolean getLenient()bool lenient = 17 [json_name = "lenient"];- Returns:
- The lenient.
-
getMaxDeterminizedStates
int getMaxDeterminizedStates()int32 max_determinized_states = 18 [json_name = "maxDeterminizedStates"];- Returns:
- The maxDeterminizedStates.
-
hasMinimumShouldMatch
boolean hasMinimumShouldMatch().MinimumShouldMatch minimum_should_match = 19 [json_name = "minimumShouldMatch"];- Returns:
- Whether the minimumShouldMatch field is set.
-
getMinimumShouldMatch
MinimumShouldMatch getMinimumShouldMatch().MinimumShouldMatch minimum_should_match = 19 [json_name = "minimumShouldMatch"];- Returns:
- The minimumShouldMatch.
-
getMinimumShouldMatchOrBuilder
MinimumShouldMatchOrBuilder getMinimumShouldMatchOrBuilder().MinimumShouldMatch minimum_should_match = 19 [json_name = "minimumShouldMatch"]; -
getPhraseSlop
int getPhraseSlop()int32 phrase_slop = 20 [json_name = "phraseSlop"];- Returns:
- The phraseSlop.
-
getQuery
String getQuery()string query = 21 [json_name = "query"];- Returns:
- The query.
-
getQueryBytes
com.google.protobuf.ByteString getQueryBytes()string query = 21 [json_name = "query"];- Returns:
- The bytes for query.
-
getQuoteAnalyzer
String getQuoteAnalyzer()string quote_analyzer = 22 [json_name = "quoteAnalyzer"];- Returns:
- The quoteAnalyzer.
-
getQuoteAnalyzerBytes
com.google.protobuf.ByteString getQuoteAnalyzerBytes()string quote_analyzer = 22 [json_name = "quoteAnalyzer"];- Returns:
- The bytes for quoteAnalyzer.
-
getQuoteFieldSuffix
String getQuoteFieldSuffix()string quote_field_suffix = 23 [json_name = "quoteFieldSuffix"];- Returns:
- The quoteFieldSuffix.
-
getQuoteFieldSuffixBytes
com.google.protobuf.ByteString getQuoteFieldSuffixBytes()string quote_field_suffix = 23 [json_name = "quoteFieldSuffix"];- Returns:
- The bytes for quoteFieldSuffix.
-
getRewriteValue
int getRewriteValue().MultiTermQueryRewrite rewrite = 24 [json_name = "rewrite"];- Returns:
- The enum numeric value on the wire for rewrite.
-
getRewrite
MultiTermQueryRewrite getRewrite().MultiTermQueryRewrite rewrite = 24 [json_name = "rewrite"];- Returns:
- The rewrite.
-
getTieBreaker
float getTieBreaker()float tie_breaker = 25 [json_name = "tieBreaker"];- Returns:
- The tieBreaker.
-
getTimeZone
String getTimeZone()string time_zone = 26 [json_name = "timeZone"];- Returns:
- The timeZone.
-
getTimeZoneBytes
com.google.protobuf.ByteString getTimeZoneBytes()string time_zone = 26 [json_name = "timeZone"];- Returns:
- The bytes for timeZone.
-
getTypeValue
int getTypeValue().TextQueryType type = 27 [json_name = "type"];- Returns:
- The enum numeric value on the wire for type.
-
getType
TextQueryType getType().TextQueryType type = 27 [json_name = "type"];- Returns:
- The type.
-