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

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

[source,java]
--------------------------------------------------
QueryBuilder qb = spanMultiTermQueryBuilder(
    prefixQuery("user", "ki")                   <1>
);
--------------------------------------------------
<1> Can be any builder extending the `MultiTermQueryBuilder` class. For example: `FuzzyQueryBuilder`,
`PrefixQueryBuilder`, `RangeQueryBuilder`, `RegexpQueryBuilder` or `WildcardQueryBuilder`.

