dateHistogramAggregation is getting a warning that the interval is deprecated
elishas opened this issue · comments
dateHistogramAggregation is getting a warning that the interval is deprecated:
The full error is: [interval] on [date_histogram] is deprecated, use [fixed_interval] or [calendar_interval] in the future.
We could deprecate the current interval
field and add support for fixedInterval/calendarInterval
. Removing the interval
would be a breaking change and I'd prefer not to do that. @elishas would be interested in submitting a PR with these changes?
It would be great if you could do that. I don't have for the moment time to work on a PR
Another easier way could be to extend the implementation to add the new functionality in your application code.
I can try to find some time during the next weekend.
Closed via #126.