Expand date ranges for aggregations on ElasticSearch -
i have create dimension series of values , from/to fields , stored on elasticsearch.
i need create aggregations on attributes expanded day on range of dates given. instance, have following:
location sales region san francisco west 1/1/2013 12/01/2013 oakland west 12/02/2013 04/05/2014
but now, need aggregate return
date, location, count(*) 1/1/2013, san francisco, 1 1/2/2013, san francisco, 2 ... 12/02/2013 oakland 1 ... 04/05/2014 oakland 1
can give me tip how blow range can happen or if elastic search offers similar?
Comments
Post a Comment