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 Date histogram aggregation | Elasticsearch Guide [7.10] | Elastic
...This histogram also supports the
extended_bounds
..., andhard_bounds
that limits the histogram to specified bounds
And github ticket appears to be merged [7.x] Add hard_bounds support for histogram field-based histograms (#64246) by imotov · Pull Request #64312 · elastic/elasticsearch · GitHub
Env: Docker container running node:10
"@elastic/elasticsearch": "^7.10.0"
Is this feature not yet released or is there a bug?