Merge pull request #249 from zoellner/patch-countExample

updated client.count example
This commit is contained in:
Spencer
2015-08-05 13:10:51 -07:00

View File

@ -23,6 +23,7 @@ client.count({
client.count(
index: 'index_name',
body: {
query: {
filtered: {
filter: {
terms: {
@ -31,6 +32,7 @@ client.count(
}
}
}
}
}, function (err, response) {
// ...
});