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 Type
    Method
    Description
    optional string analyzer = 4 [json_name = "analyzer"];
    com.google.protobuf.ByteString
    optional string analyzer = 4 [json_name = "analyzer"];
    boolean
    optional bool auto_generate_synonyms_phrase_query = 5 [json_name = "autoGenerateSynonymsPhraseQuery"];
    float
    optional float boost = 2 [json_name = "boost"];
    getFields(int index)
    repeated string fields = 6 [json_name = "fields"];
    com.google.protobuf.ByteString
    getFieldsBytes(int index)
    repeated string fields = 6 [json_name = "fields"];
    int
    repeated 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.ByteString
    optional string fuzzy_rewrite = 19 [json_name = "fuzzyRewrite"];
    Deprecated.
    org.opensearch.protobufs.MultiMatchQuery.fuzzy_rewrite_deprecated is deprecated.
    int
    Deprecated.
    org.opensearch.protobufs.MultiMatchQuery.fuzzy_rewrite_deprecated is deprecated.
    boolean
    optional bool fuzzy_transpositions = 9 [json_name = "fuzzyTranspositions"];
    boolean
    optional bool lenient = 10 [json_name = "lenient"];
    int
    optional 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"];
    int
    optional .org.opensearch.protobufs.Operator operator = 13 [json_name = "operator"];
    int
    optional int32 prefix_length = 14 [json_name = "prefixLength"];
    string query = 1 [json_name = "query"];
    com.google.protobuf.ByteString
    string query = 1 [json_name = "query"];
    int
    optional int32 slop = 15 [json_name = "slop"];
    float
    optional float tie_breaker = 16 [json_name = "tieBreaker"];
    optional .org.opensearch.protobufs.TextQueryType type = 17 [json_name = "type"];
    int
    optional .org.opensearch.protobufs.TextQueryType type = 17 [json_name = "type"];
    optional string x_name = 3 [json_name = "xName"];
    com.google.protobuf.ByteString
    optional string x_name = 3 [json_name = "xName"];
    optional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 18 [json_name = "zeroTermsQuery"];
    int
    optional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 18 [json_name = "zeroTermsQuery"];
    boolean
    optional string analyzer = 4 [json_name = "analyzer"];
    boolean
    optional bool auto_generate_synonyms_phrase_query = 5 [json_name = "autoGenerateSynonymsPhraseQuery"];
    boolean
    optional float boost = 2 [json_name = "boost"];
    boolean
    optional .org.opensearch.protobufs.Fuzziness fuzziness = 8 [json_name = "fuzziness"];
    boolean
    optional string fuzzy_rewrite = 19 [json_name = "fuzzyRewrite"];
    boolean
    Deprecated.
    org.opensearch.protobufs.MultiMatchQuery.fuzzy_rewrite_deprecated is deprecated.
    boolean
    optional bool fuzzy_transpositions = 9 [json_name = "fuzzyTranspositions"];
    boolean
    optional bool lenient = 10 [json_name = "lenient"];
    boolean
    optional int32 max_expansions = 11 [json_name = "maxExpansions"];
    boolean
    optional .org.opensearch.protobufs.MinimumShouldMatch minimum_should_match = 12 [json_name = "minimumShouldMatch"];
    boolean
    optional .org.opensearch.protobufs.Operator operator = 13 [json_name = "operator"];
    boolean
    optional int32 prefix_length = 14 [json_name = "prefixLength"];
    boolean
    optional int32 slop = 15 [json_name = "slop"];
    boolean
    optional float tie_breaker = 16 [json_name = "tieBreaker"];
    boolean
    optional .org.opensearch.protobufs.TextQueryType type = 17 [json_name = "type"];
    boolean
    optional string x_name = 3 [json_name = "xName"];
    boolean
    optional .org.opensearch.protobufs.ZeroTermsQuery zero_terms_query = 18 [json_name = "zeroTermsQuery"];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      List<String> 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

      String getFields(int index)
      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 boolean hasFuzzyRewriteDeprecated()
      Deprecated.
      org.opensearch.protobufs.MultiMatchQuery.fuzzy_rewrite_deprecated is deprecated. See protos/schemas/common.proto;l=0
      optional .org.opensearch.protobufs.MultiTermQueryRewrite fuzzy_rewrite_deprecated = 7 [json_name = "fuzzyRewriteDeprecated", deprecated = true];
      Returns:
      Whether the fuzzyRewriteDeprecated field is set.
    • getFuzzyRewriteDeprecatedValue

      @Deprecated int getFuzzyRewriteDeprecatedValue()
      Deprecated.
      org.opensearch.protobufs.MultiMatchQuery.fuzzy_rewrite_deprecated is deprecated. See protos/schemas/common.proto;l=0
      optional .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 MultiTermQueryRewrite getFuzzyRewriteDeprecated()
      Deprecated.
      org.opensearch.protobufs.MultiMatchQuery.fuzzy_rewrite_deprecated is deprecated. See protos/schemas/common.proto;l=0
      optional .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.