[DOCS] fixed count docs, it now requires a top-level query object, same as other apis
Relates to #4074
This commit is contained in:
parent
9902f04033
commit
179750f0f5
|
@ -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" }
|
||||
}
|
||||
}'
|
||||
--------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue