ongr-io / ElasticsearchDSL

Query DSL library for Elasticsearch
MIT License
461 stars 200 forks source link

DateRangeAggregation - "keyed" option support missing #283

Open pmishev opened 5 years ago

pmishev commented 5 years ago

The DateRangeAggregation can't be passed the keyed option currently. https://www.elastic.co/guide/en/elasticsearch/reference/6.3/search-aggregations-bucket-daterange-aggregation.html#_keyed_response_4

Looks like this has been reported before in #237, but never fixed.

saimaz commented 5 years ago

yep, keyed is not implemented, would be awesome if you could add a PR to 5.x branch by introducing this option. It's pretty simple to add though.

pmishev commented 5 years ago

Sorry, did it from master in a hurry. Hope it's all right