Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

date_histogram aggregation and time_zone #5057

Closed
nnegativ opened this issue Feb 8, 2014 · 1 comment · Fixed by #5060
Closed

date_histogram aggregation and time_zone #5057

nnegativ opened this issue Feb 8, 2014 · 1 comment · Fixed by #5060

Comments

@nnegativ
Copy link

nnegativ commented Feb 8, 2014

According to http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-datehistogram-aggregation.html

the time_zone attribute can take integer value but in DateHistogramParser.java this attribute is only parsed when the value is a string.

So for example:
time_zone: 1
gives:

Parse Failure [Unknown key for a VALUE_NUMBER in [agg_name]: [time_zone].]]

Version: ES 1.0RC2 and 1.0 branch.

@uboness
Copy link
Contributor

uboness commented Feb 8, 2014

indeed... will be fixed, thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants