Re: date_historgram facet issue
Just for helping someone if needed , this could be done using aggregations of ES 1.x like this { size: 0, query: { filtered: { query: { match_all: {} } } }, aggs: { nest_global: { nested: { path: periods },
date_historgram facet issue
Hi i have some documents like this { date : 2014-01-01, periods : { { start : 0 , duration: 55 }, { start : 1 , duration: 55 }, { start : 2 , duration: 55 }, { start : 3 , duration: 55 }, etc... } } I do a query on a date range with a statistical facet to