IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Type Filter

edit

Filters documents matching the provided document / mapping type. Note, this filter can work even when the _type field is not indexed (using the _uid field).

{
    "type" : {
        "value" : "my_type"
    }
}