Files
elasticsearch-js/docs/reference/api/QueryDslSpanQuery.md
2025-05-28 10:02:30 -05:00

1.8 KiB

QueryDslSpanQuery [interface-QueryDslSpanQuery]

Name Type Description
span_containing QueryDslSpanContainingQuery Accepts a list of span queries, but only returns those spans which also match a second span query.
span_field_masking QueryDslSpanFieldMaskingQuery Allows queries like span_near or span_or across different fields.
span_first QueryDslSpanFirstQuery Accepts another span query whose matches must appear within the first N positions of the field.
span_gap QueryDslSpanGapQuery  
span_multi QueryDslSpanMultiTermQuery Wraps a term, range, prefix, wildcard, regexp, or fuzzy query.
span_near QueryDslSpanNearQuery Accepts multiple span queries whose matches must be within the specified distance of each other, and possibly in the same order.
span_not QueryDslSpanNotQuery Wraps another span query, and excludes any documents which match that query.
span_or QueryDslSpanOrQuery Combines multiple span queriesandreturns documents which match any of the specified queries.
span_term Partial<Record<Field, QueryDslSpanTermQuery FieldValue>>
span_within QueryDslSpanWithinQuery The result from a single span query is returned as long is its span falls within the spans returned by a list of other span queries.