-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
/_field_stats returns date values as strings #14404
Labels
Comments
This is really important for post request sorting. ISO8601 will sort fine, but users that have alternative formats may find their strings don't sort as expected |
spalger
pushed a commit
to spalger/kibana
that referenced
this issue
Oct 30, 2015
@spalger @rashidkpc Right, the data format being returned depends on the configuration in the date field in the mapping, but that isn't good for sorting, so lets change the format slightly to also include the milliseconds from epoch. |
martijnvg
added a commit
that referenced
this issue
Nov 23, 2015
…sponse elements for all number based fields. The existing `min_value` and `max_value` will return the values as numbers instead. Closes #14404
spalger
pushed a commit
to spalger/kibana
that referenced
this issue
Dec 10, 2015
spalger
pushed a commit
to elastic/kibana
that referenced
this issue
Dec 11, 2015
spalger
pushed a commit
to elastic/kibana
that referenced
this issue
Dec 11, 2015
spalger
pushed a commit
to elastic/kibana
that referenced
this issue
Dec 11, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
The
max_value
andmin_value
provided by the/_field_stats
api currently provide strings values for date fields rather than milliseconds from epoch.This feels like a bug to me, I expect them to resemble the results of a
max
ormin
aggregation:/_field_stats
max aggregation:
The text was updated successfully, but these errors were encountered: