Class CombinedFieldsQuery
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.QueryBase
org.opensearch.client.opensearch._types.query_dsl.CombinedFieldsQuery
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,QueryVariant,ToCopyableBuilder<CombinedFieldsQuery.Builder,CombinedFieldsQuery>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class CombinedFieldsQuery
extends QueryBase
implements QueryVariant, ToCopyableBuilder<CombinedFieldsQuery.Builder,CombinedFieldsQuery>
-
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<CombinedFieldsQuery> Json deserializer forCombinedFieldsQuery -
Method Summary
Modifier and TypeMethodDescriptionQueryvariant kind.final BooleanIftrue, match phrase queries are automatically created for multi-term synonyms.static CombinedFieldsQuery.Builderbuilder()booleanfields()Required - List of fields to search.inthashCode()final StringAPI name:minimum_should_matchstatic CombinedFieldsQueryfinal CombinedFieldsOperatoroperator()API name:operatorfinal Stringquery()Required - Text to search for in the providedfields.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final CombinedFieldsZeroTermsAPI 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 forCombinedFieldsQuery
-
-
Method Details
-
of
public static CombinedFieldsQuery of(Function<CombinedFieldsQuery.Builder, ObjectBuilder<CombinedFieldsQuery>> fn) -
_queryKind
Queryvariant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
autoGenerateSynonymsPhraseQuery
Iftrue, match phrase queries are automatically created for multi-term synonyms.API name:
auto_generate_synonyms_phrase_query -
fields
Required - List of fields to search. Field wildcard patterns are allowed. Onlytextfields are supported, and they must all have the same searchanalyzer.API name:
fields -
minimumShouldMatch
API name:minimum_should_match -
operator
API name:operator -
query
Required - Text to search for in the providedfields. Thecombined_fieldsquery analyzes the provided text before performing a search.API name:
query -
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<CombinedFieldsQuery.Builder,CombinedFieldsQuery> - Returns:
- a new builder instance.
-
builder
-
setupCombinedFieldsQueryDeserializer
protected static void setupCombinedFieldsQueryDeserializer(ObjectDeserializer<CombinedFieldsQuery.Builder> op) -
hashCode
public int hashCode() -
equals
-