fix count() example

This commit is contained in:
spalger
2016-01-04 10:08:14 -07:00
parent f140745527
commit 5fd9c7da49
12 changed files with 24 additions and 13 deletions

View File

@ -124,7 +124,7 @@ client.count({
.Get the number of documents matching a query
[source,js]
---------
client.count(
client.count({
index: 'index_name',
body: {
query: {
@ -143,6 +143,7 @@ client.count(
---------
*Params*
[horizontal]