mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
[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…
x
Reference in New Issue
Block a user