Merge pull request #249 from zoellner/patch-countExample
updated client.count example
This commit is contained in:
@ -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) {
|
||||
// ...
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user