[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 Date histogram aggregation | Elasticsearch Guide [7.10] | Elastic

...This histogram also supports the extended_bounds ..., and hard_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?

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.