17 lines
317 B
Plaintext
17 lines
317 B
Plaintext
|
[[java-query-dsl-prefix-query]]
|
||
|
==== Prefix Query
|
||
|
|
||
|
See {ref}/query-dsl-prefix-query.html[Prefix Query]
|
||
|
|
||
|
[source,java]
|
||
|
--------------------------------------------------
|
||
|
QueryBuilder qb = prefixQuery(
|
||
|
"brand", <1>
|
||
|
"heine" <2>
|
||
|
);
|
||
|
--------------------------------------------------
|
||
|
<1> field
|
||
|
<2> prefix
|
||
|
|
||
|
|