Skip to content

Commit

Permalink
[DOCS] fixed count docs, it now requires a top-level query object, sa…
Browse files Browse the repository at this point in the history
…me as other apis

Relates to #4074
  • Loading branch information
javanna committed Feb 13, 2014
1 parent f0c70b3 commit 5990ad0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/reference/search/count.asciidoc
Expand Up @@ -14,7 +14,9 @@ $ curl -XGET 'http://localhost:9200/twitter/tweet/_count?q=user:kimchy'
$ curl -XGET 'http://localhost:9200/twitter/tweet/_count' -d '
{
"term" : { "user" : "kimchy" }
"query" : {
"term" : { "user" : "kimchy" }
}
}'
--------------------------------------------------

Expand Down

0 comments on commit 5990ad0

Please sign in to comment.