Class MatchBoolPrefixQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.MatchBoolPrefixQuery
- All Implemented Interfaces:
QueryVariant
,JsonpSerializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
QueryBase.AbstractBuilder<BuilderT extends QueryBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<MatchBoolPrefixQuery>
Json deserializer forMatchBoolPrefixQuery
-
Method Summary
Modifier and TypeMethodDescriptionQuery variant kind.final String
analyzer()
Analyzer used to convert the text in the query value into tokens.final String
field()
Required - The target fieldfinal String
Maximum edit distance allowed for matching.final String
Method used to rewrite the query.final Boolean
Iftrue
, edits for fuzzy matching include transpositions of two adjacent characters (for example,ab
toba
).final Integer
Maximum number of terms to which the query will expand.final String
Minimum number of clauses that must match for a document to be returned.static MatchBoolPrefixQuery
final Operator
operator()
Boolean logic used to interpret text in the query value.final Integer
Number of beginning characters left unchanged for fuzzy matching.final String
query()
Required - Terms you wish to find in the provided field.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
Methods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializer, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch._types.query_dsl.QueryVariant
_toQuery
-
Field Details
-
_DESERIALIZER
Json deserializer forMatchBoolPrefixQuery
-
-
Method Details
-
of
public static MatchBoolPrefixQuery of(Function<MatchBoolPrefixQuery.Builder, ObjectBuilder<MatchBoolPrefixQuery>> fn) -
_queryKind
Query variant kind.- Specified by:
_queryKind
in interfaceQueryVariant
-
field
Required - The target field -
analyzer
Analyzer used to convert the text in the query value into tokens.API name:
analyzer
-
fuzziness
Maximum edit distance allowed for matching. Can be applied to the term subqueries constructed for all terms but the final term.API name:
fuzziness
-
fuzzyRewrite
Method used to rewrite the query. Can be applied to the term subqueries constructed for all terms but the final term.API name:
fuzzy_rewrite
-
fuzzyTranspositions
Iftrue
, edits for fuzzy matching include transpositions of two adjacent characters (for example,ab
toba
). Can be applied to the term subqueries constructed for all terms but the final term.API name:
fuzzy_transpositions
-
maxExpansions
Maximum number of terms to which the query will expand. Can be applied to the term subqueries constructed for all terms but the final term.API name:
max_expansions
-
minimumShouldMatch
Minimum number of clauses that must match for a document to be returned. Applied to the constructed bool query.API name:
minimum_should_match
-
operator
Boolean logic used to interpret text in the query value. Applied to the constructed bool query.API name:
operator
-
prefixLength
Number of beginning characters left unchanged for fuzzy matching. Can be applied to the term subqueries constructed for all terms but the final term.API name:
prefix_length
-
query
Required - Terms you wish to find in the provided field. The last term is used in a prefix query.API name:
query
-
serializeInternal
- Overrides:
serializeInternal
in classQueryBase
-
setupMatchBoolPrefixQueryDeserializer
protected static void setupMatchBoolPrefixQueryDeserializer(ObjectDeserializer<MatchBoolPrefixQuery.Builder> op)
-