[[java-query-dsl-span-not-query]]
==== Span Not Query

See {ref}/query-dsl-span-not-query.html[Span Not Query]

["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{query-dsl-test}[span_not]
--------------------------------------------------
<1> span query whose matches are filtered
<2> span query whose matches must not overlap those returned