Type Queryedit

Warning

Deprecated in 7.0.0.

Types are being removed, prefer filtering on a field instead. For more information, please see Removal of mapping types.

Filters documents matching the provided document / mapping type.

GET /_search
{
    "query": {
        "type" : {
            "value" : "_doc"
        }
    }
}