Missing Filter

Filters documents where a specific field has no value in them.

{
    "constant_score" : {
        "filter" : {
            "missing" : { "field" : "user" }
        }
    }
}

Caching

The result of the filter is always cached.

Table Of Contents

Previous topic

Match All Filter

Next topic

Not Filter

This Page