[BUG?] date_histogram hard_bounds returns unknown_field

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 ..., and hard_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?

This feature has not been released, it should be available in the upcoming 7.11 release:

Ah, I missed the label. Very excited and thank you!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.