[[query-dsl-type-query]]
=== Type Query

deprecated[7.0.0, Types are being removed, prefer filtering on a field instead. For more information, please see <<removal-of-types>>.]

Filters documents matching the provided document / mapping type.

[source,js]
--------------------------------------------------
GET /_search
{
    "query": {
        "type" : {
            "value" : "_doc"
        }
    }
}    
--------------------------------------------------
// CONSOLE
