[[java-query-dsl-span-first-query]]
==== Span First Query

See {ref}/query-dsl-span-first-query.html[Span First Query]

["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{query-dsl-test}[span_first]
--------------------------------------------------
<1> query
<2> max end position
