elasticsearch-helper
Advanced tools
Comparing version 1.17.1 to 1.18.0
@@ -107,3 +107,3 @@ | ||
}, | ||
date_histogram(sKey, sInterval) { | ||
date_histogram(sKey, sInterval, oOptions) { | ||
this.sType = 'date_histogram'; | ||
@@ -116,2 +116,8 @@ | ||
if (oOptions) { | ||
Object.keys(oOptions).forEach((attrname) => { | ||
this.oOptions[attrname] = oOptions[attrname]; | ||
}); | ||
} | ||
return this; | ||
@@ -118,0 +124,0 @@ }, |
{ | ||
"name": "elasticsearch-helper", | ||
"version": "1.17.1", | ||
"version": "1.18.0", | ||
"description": "A Nodejs module facilitating querying Elasticsearch clusters.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
55904
1211