[[java-query-dsl-missing-query]]
==== Missing Query

See {ref}/query-dsl-missing-query.html[Missing Query]

[source,java]
--------------------------------------------------
QueryBuilder qb = missingQuery("user",          <1>
    true,                                       <2>
    true);                                      <3>
--------------------------------------------------
<1> field
<2> find missing field with an explicit `null` value
<3> find missing field that doesn’t exist