Class SpanNearQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.SpanNearQuery
- All Implemented Interfaces:
QueryVariant,SpanQueryVariant,JsonpSerializable
@JsonpDeserializable
public class SpanNearQuery
extends QueryBase
implements SpanQueryVariant, QueryVariant
- 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<SpanNearQuery>Json deserializer forSpanNearQuery -
Method Summary
Modifier and TypeMethodDescriptionQuery variant kind.SpanQuery variant kind.clauses()Required - Array of one or more other span type queries.final BooleaninOrder()Controls whether matches are required to be in-order.static SpanNearQueryprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Integerslop()Controls the maximum number of intervening unmatched positions permitted.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
_toQueryMethods inherited from interface co.elastic.clients.elasticsearch._types.query_dsl.SpanQueryVariant
_toSpanQuery
-
Field Details
-
_DESERIALIZER
Json deserializer forSpanNearQuery
-
-
Method Details
-
of
-
_spanQueryKind
SpanQuery variant kind.- Specified by:
_spanQueryKindin interfaceSpanQueryVariant
-
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
clauses
Required - Array of one or more other span type queries.API name:
clauses -
inOrder
Controls whether matches are required to be in-order.API name:
in_order -
slop
Controls the maximum number of intervening unmatched positions permitted.API name:
slop -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
setupSpanNearQueryDeserializer
-