elastic / elastic/elasticsearch-dsl-ruby

date_histogram combined interval field is deprecated

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
18
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Hi guys it seems https://github.com/elastic/elasticsearch-ruby/blob/ee83caf8ea090775b19190341eeee2cd627fdcd0/elasticsearch-dsl/lib/elasticsearch/dsl/search/aggregations/date_histogram.rb#L41
should be updated according `interval` deprecation https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html

Thanks

Contributor guide

Open the contributing guide

Research direction

Start at elasticsearch-dsl/lib/elasticsearch/dsl/search/aggregations/date_histogram.rb around line 41 and read the linked Elasticsearch date_histogram documentation on interval deprecation. Update the deprecated combined interval field according to that guidance, then confirm the generated date_histogram DSL uses the current field and behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, ruby
Domain
search
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.