Class MultiMatchQuery
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.QueryBase
org.opensearch.client.opensearch._types.query_dsl.MultiMatchQuery
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,QueryVariant,ToCopyableBuilder<MultiMatchQuery.Builder,MultiMatchQuery>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class MultiMatchQuery
extends QueryBase
implements QueryVariant, ToCopyableBuilder<MultiMatchQuery.Builder,MultiMatchQuery>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase
QueryBase.AbstractBuilder<BuilderT extends QueryBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<MultiMatchQuery> Json deserializer forMultiMatchQuery -
Method Summary
Modifier and TypeMethodDescriptionQueryvariant kind.final Stringanalyzer()Analyzer used to convert the text in the query value into tokens.final BooleanIftrue, match phrase queries are automatically created for multi-term synonyms.static MultiMatchQuery.Builderbuilder()final FloatAPI name:cutoff_frequencybooleanfields()API name:fieldsfinal StringAPI name:fuzzinessfinal StringAPI name:fuzzy_rewritefinal BooleanIftrue, edits for fuzzy matching include transpositions of two adjacent characters (for example,abtoba).inthashCode()final Booleanlenient()Iftrue, format-based errors, such as providing a text query value for a numeric field, are ignored.final IntegerMaximum number of terms to which the query will expand.final StringAPI name:minimum_should_matchstatic MultiMatchQueryfinal Operatoroperator()API name:operatorfinal IntegerNumber of beginning characters left unchanged for fuzzy matching.final Stringquery()Required - Text, number, Boolean value or date you wish to find in the provided field.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Integerslop()Maximum number of positions allowed between matching tokens.final FloatDetermines how scores for each per-term blended query and scores across groups are combined.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final TextQueryTypetype()API name:typefinal ZeroTermsQueryAPI name:zero_terms_queryMethods inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.opensearch._types.query_dsl.QueryVariant
toQueryMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forMultiMatchQuery
-
-
Method Details
-
of
public static MultiMatchQuery of(Function<MultiMatchQuery.Builder, ObjectBuilder<MultiMatchQuery>> fn) -
_queryKind
Queryvariant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
analyzer
Analyzer used to convert the text in the query value into tokens.API name:
analyzer -
autoGenerateSynonymsPhraseQuery
Iftrue, match phrase queries are automatically created for multi-term synonyms.API name:
auto_generate_synonyms_phrase_query -
cutoffFrequency
API name:cutoff_frequency -
fields
API name:fields -
fuzziness
API name:fuzziness -
fuzzyRewrite
API name:fuzzy_rewrite -
fuzzyTranspositions
Iftrue, edits for fuzzy matching include transpositions of two adjacent characters (for example,abtoba). Can be applied to the term subqueries constructed for all terms but the final term.API name:
fuzzy_transpositions -
lenient
Iftrue, format-based errors, such as providing a text query value for a numeric field, are ignored.API name:
lenient -
maxExpansions
Maximum number of terms to which the query will expand.API name:
max_expansions -
minimumShouldMatch
API name:minimum_should_match -
operator
API name:operator -
prefixLength
Number of beginning characters left unchanged for fuzzy matching.API name:
prefix_length -
query
Required - Text, number, Boolean value or date you wish to find in the provided field.API name:
query -
slop
Maximum number of positions allowed between matching tokens.API name:
slop -
tieBreaker
Determines how scores for each per-term blended query and scores across groups are combined.API name:
tie_breaker -
type
API name:type -
zeroTermsQuery
API name:zero_terms_query -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<MultiMatchQuery.Builder,MultiMatchQuery> - Returns:
- a new builder instance.
-
builder
-
setupMultiMatchQueryDeserializer
protected static void setupMultiMatchQueryDeserializer(ObjectDeserializer<MultiMatchQuery.Builder> op) -
hashCode
public int hashCode() -
equals
-