# Type Query(类型查询)

原文链接 : [https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-type-query.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-type-query.html)

译文链接 : [http://www.apache.wiki/pages/viewpage.action?pageId=4882445](http://www.apache.wiki/pages/viewpage.action?pageId=4882445)

贡献者 : @小布丁

过滤与所提供的文档或者映射类型相匹配的文档。

```
GET /_search
{
    "query": {
        "type" : {
            "value" : "my_type"
        }
    }
}
```