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,10 +23,12 @@ client.count({
client.count( client.count(
index: 'index_name', index: 'index_name',
body: { body: {
filtered: { query: {
filter: { filtered: {
terms: { filter: {
foo: ['bar'] terms: {
foo: ['bar']
}
} }
} }
} }