[[java-query-dsl-span-term-query]]
==== Span Term Query

See {ref}/query-dsl-span-term-query.html[Span Term Query]

[source,java]
--------------------------------------------------
QueryBuilder qb = spanTermQuery(
    "user",                                     <1>
    "kimchy"                                    <2>
);
--------------------------------------------------
<1> field
<2> value

