-
Notifications
You must be signed in to change notification settings - Fork 24.6k
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
Factor parameter in Date Histogram aggregation not accepted #6490
Comments
I'm running into the same issue. Any word on this as it's causing some parsing errors on my end which means I have to use facets for now. |
@uboness it looks like |
@jpountz are there plans to support |
@clintongormley I would be +1 on dropping it as well and requiring the field to be either a date or unmapped in order for a date aggregation to succeed. |
Agreed - closing |
The current implementation of 'date_histogram' does not understand the `factor` parameter. Since the docs shouldn't raise false hopes, I removed the section. Closes #7277
The current implementation of 'date_histogram' does not understand the `factor` parameter. Since the docs shouldn't raise false hopes, I removed the section. Closes #7277
The current implementation of 'date_histogram' does not understand the `factor` parameter. Since the docs shouldn't raise false hopes, I removed the section. Closes #7277
According to documentation (http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html#_factor_2) date histogram aggregation should accept factor parameter. But using it results in
Query example:
Without factor, query works just fine.
Using version 1.1.2, but looking to source of master (https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/DateHistogramParser.java#L124), factor is not used there neither.
The text was updated successfully, but these errors were encountered: