summaryrefslogtreecommitdiff
path: root/src/es5/es-query.json
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-11-27 23:55:41 +0100
committerChristian Pointner <equinox@spreadspace.org>2014-11-27 23:55:41 +0100
commit1829fc75dc4de3ffe03283942aa736c81f526ea1 (patch)
treebcfeb84cb05d6a99bdb2d4135c001bcff64ddba7 /src/es5/es-query.json
parentconcatenation of source-id values work now (diff)
terms aggregation for nested data works now
Diffstat (limited to 'src/es5/es-query.json')
-rw-r--r--src/es5/es-query.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/es5/es-query.json b/src/es5/es-query.json
index 1be731d..5bec12f 100644
--- a/src/es5/es-query.json
+++ b/src/es5/es-query.json
@@ -3,7 +3,7 @@
{
"by_hostname":
{
- "terms": { "script": "doc['source-id'].values.join('/')" }
+ "terms": { "script": "[ doc['hostname'].value, doc['streamer-id.content-id'].value, doc['streamer-id.format'].value, doc['streamer-id.quality'].value ].join('/') " }
},
"the_total_time":
{