# Query

原文链接 : [https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html)

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

贡献者 : ping

搜索请求体中的查询元素允许使用查询DSL定义一个查询。

```
GET /_search
{
    "query" : {
        "term" : { "user" : "kimchy" }
    }
}
```