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

Sort fields should return formatted values #56364

Closed
jimczi opened this issue May 7, 2020 · 2 comments
Closed

Sort fields should return formatted values #56364

jimczi opened this issue May 7, 2020 · 2 comments
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team

Comments

@jimczi
Copy link
Contributor

jimczi commented May 7, 2020

Unlike stored_fields and docvalues_field, the sort values returned by search requests are displayed as raw values. The sort value for a date field for instance, returns a long that represents the time in UTC since epoch. For consistency and to avoid leaking the format of the internal storage, we should return the display form of the value like we do in stored_fields and docvalues_field.
This should also be consistent with search_after that allows to provide formatted values already.

@jimczi jimczi added >enhancement :Search/Search Search-related issues that do not fall into other categories labels May 7, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Search)

@elasticmachine elasticmachine added the Team:Search Meta label for search team label May 7, 2020
@javanna
Copy link
Member

javanna commented Jun 25, 2024

There are no concrete plans to work on this issue. Closing.

@javanna javanna closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team
Projects
None yet
Development

No branches or pull requests

3 participants