WARNING: Version 5.x has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Missing Query Usage
editMissing Query Usage
editFluent DSL example
editq .Missing(c => c .Name("named_query") .Boost(1.1) .Field(p => p.Description) .NullValue() .Existence() )
Object Initializer syntax example
editnew MissingQuery { Name = "named_query", Boost = 1.1, Field = "description", NullValue = true, Existence = true }
Example json output.
{ "missing": { "_name": "named_query", "boost": 1.1, "existence": true, "field": "description", "null_value": true } }