A newer version is available. For the latest information, see the
current release documentation.
Span queries
editSpan queries
editSpan queries are low-level positional queries which provide expert control over the order and proximity of the specified terms. These are typically used to implement very specific queries on legal documents or patents.
Span queries cannot be mixed with non-span queries (with the exception of the span_multi query).
See the Elasticsearch documentation on Span queries for more details.