16 lines
299 B
Plaintext
16 lines
299 B
Plaintext
|
[[java-query-dsl-not-query]]
|
||
|
==== Not Query
|
||
|
|
||
|
See {ref}/query-dsl-not-query.html[Not Query]
|
||
|
|
||
|
|
||
|
[source,java]
|
||
|
--------------------------------------------------
|
||
|
QueryBuilder qb = notQuery(
|
||
|
rangeQuery("price").from("1").to("2") <1>
|
||
|
);
|
||
|
--------------------------------------------------
|
||
|
<1> query
|
||
|
|
||
|
|