Class PrefixQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.PrefixQuery
- 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<PrefixQuery>
Json deserializer forPrefixQuery
-
Method Summary
Modifier and TypeMethodDescriptionQuery variant kind.final Boolean
Allows ASCII case insensitive matching of the value with the indexed field values when set totrue
.final String
field()
Required - The target fieldstatic PrefixQuery
final String
rewrite()
Method used to rewrite the query.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final String
value()
Required - Beginning characters of terms you wish to find in the provided field.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 forPrefixQuery
-
-
Method Details
-
of
-
_queryKind
Query variant kind.- Specified by:
_queryKind
in interfaceQueryVariant
-
field
Required - The target field -
rewrite
Method used to rewrite the query.API name:
rewrite
-
value
Required - Beginning characters of terms you wish to find in the provided field.API name:
value
-
caseInsensitive
Allows ASCII case insensitive matching of the value with the indexed field values when set totrue
. Default isfalse
which means the case sensitivity of matching depends on the underlying field’s mapping.API name:
case_insensitive
-
serializeInternal
- Overrides:
serializeInternal
in classQueryBase
-
setupPrefixQueryDeserializer
-