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 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<RegexpQuery>
Json deserializer forRegexpQuery
-
Method Summary
Modifier and TypeMethodDescriptionQuery variant kind.final Boolean
Allows case insensitive matching of the regular expression value with the indexed field values when set totrue
.final String
field()
Required - The target fieldfinal String
flags()
Enables optional operators for the regular expression.final Integer
Maximum number of automaton states required for the query.static RegexpQuery
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 - 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, 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 forRegexpQuery
-
-
Method Details
-
of
-
_queryKind
Query variant kind.- Specified by:
_queryKind
in 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:
serializeInternal
in classQueryBase
-
setupRegexpQueryDeserializer
-