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 facet fails with "pre_zone" : "+02:00" #2141

Closed
ejain opened this issue Aug 5, 2012 · 1 comment
Closed

Date Histogram facet fails with "pre_zone" : "+02:00" #2141

ejain opened this issue Aug 5, 2012 · 1 comment

Comments

@ejain
Copy link
Contributor

ejain commented Aug 5, 2012

"pre_zone" : "-02:00" works fine, as does "02:00", but "+02:00" fails with a NumberFormatException:

Execution exception [[SearchPhaseExecutionException: Failed to execute phase [query_fetch], total failure; shardFailures {[vdmcVg94Qw-kgMeAy9Ibtg][u07qih0a27][0]: RemoteTransportException[[Abominable Snowman][inet[/10.29.147.216:9300]][search/phase/query+fetch]]; nested: SearchParseException[[u07qih0a27][0]: query[ConstantScore(NotDeleted(:))],from[0],size[10],sort[<custom:"timestamp": org.elasticsearch.index.field.data.longs.LongFieldDataType$1@1a91abc>!]: Parse Failure [Failed to parse source [{"from":0,"size":10,"query":{"match_all":{}},"sort":[{"timestamp":{"order":"desc"}}],"facets":{"test":{"date_histogram":{"key_field":"timestamp","value_field":"timestamp","interval":"month","pre_zone":"+02:00","pre_zone_adjust_large_interval":true}}}]]; nested: NumberFormatException[For input string: "+02"]; }]]

@kimchy
Copy link
Member

kimchy commented Aug 7, 2012

Fixed.

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

No branches or pull requests

2 participants