Class RegexpQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.RegexpQuery
- 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<RegexpQuery>Json deserializer forRegexpQuery -
Method Summary
Modifier and TypeMethodDescriptionQuery variant kind.final BooleanAllows case insensitive matching of the regular expression value with the indexed field values when set totrue.final Stringfield()Required - The target fieldfinal Stringflags()Enables optional operators for the regular expression.final IntegerMaximum number of automaton states required for the query.static RegexpQueryfinal Stringrewrite()Method used to rewrite the query.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringvalue()Required - Regular expression for 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, 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 forRegexpQuery
-
-
Method Details
-
of
-
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
field
Required - The target field -
caseInsensitive
Allows case insensitive matching of the regular expression value with the indexed field values when set totrue. Whenfalse, case sensitivity of matching depends on the underlying field’s mapping.API name:
case_insensitive -
flags
Enables optional operators for the regular expression.API name:
flags -
maxDeterminizedStates
Maximum number of automaton states required for the query.API name:
max_determinized_states -
rewrite
Method used to rewrite the query.API name:
rewrite -
value
Required - Regular expression for terms you wish to find in the provided field.API name:
value -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
setupRegexpQueryDeserializer
-