The following snippet returns error reason [date_histogram] unknown field [hard_bounds] did you mean [extended_bounds]?
{ date_histogram:
{ field: 'date',
calendar_interval: 'day',
hard_bounds: { min: '2020-11-04', max: '2020-11-09' }
},
...
Documentation suggests this feature is available https://www.elastic.co/guide/en/elasticsearch/reference/7.10/search-aggregations-bucket-datehistogram-aggregation.html#date-histogram-scripts
...This histogram also supports the
extended_bounds
..., andhard_bounds
that limits the histogram to specified bounds
And github ticket appears to be merged https://github.com/elastic/elasticsearch/pull/64312
Env: Docker container running node:10
"@elastic/elasticsearch": "^7.10.0"
Is this feature not yet released or is there a bug?