Class CombinedFieldsQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.CombinedFieldsQuery
- All Implemented Interfaces:
QueryVariant,JsonpSerializable
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._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 TypeMethodDescriptionQuery variant kind.final BooleanIf true, match phrase queries are automatically created for multi-term synonyms.fields()Required - List of fields to search.final StringMinimum number of clauses that must match for a document to be returned.static CombinedFieldsQueryfinal CombinedFieldsOperatoroperator()Boolean logic used to interpret text in the query value.final Stringquery()Required - Text to search for in the providedfields.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal CombinedFieldsZeroTermsIndicates whether no documents are returned if the analyzer removes all tokens, such as when using astopfilter.Methods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.query_dsl.QueryVariant
_toQuery
-
Field Details
-
_DESERIALIZER
Json deserializer forCombinedFieldsQuery
-
-
Method Details
-
of
public static CombinedFieldsQuery of(Function<CombinedFieldsQuery.Builder, ObjectBuilder<CombinedFieldsQuery>> fn) -
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
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 -
query
Required - Text to search for in the providedfields. Thecombined_fieldsquery analyzes the provided text before performing a search.API name:
query -
autoGenerateSynonymsPhraseQuery
If true, match phrase queries are automatically created for multi-term synonyms.API name:
auto_generate_synonyms_phrase_query -
operator
Boolean logic used to interpret text in the query value.API name:
operator -
minimumShouldMatch
Minimum number of clauses that must match for a document to be returned.API name:
minimum_should_match -
zeroTermsQuery
Indicates whether no documents are returned if the analyzer removes all tokens, such as when using astopfilter.API name:
zero_terms_query -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
setupCombinedFieldsQueryDeserializer
protected static void setupCombinedFieldsQueryDeserializer(ObjectDeserializer<CombinedFieldsQuery.Builder> op)
-