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

[7.x] Add numeric_type option for correct sort order on mixed date and date_nanos fields (#44212) #46212

Merged
merged 1 commit into from
Sep 20, 2019

Conversation

kertal
Copy link
Member

@kertal kertal commented Sep 20, 2019

Backports the following commits to 7.x:

…_nanos fields (elastic#44212)

* Implement getSortForSearchSource for add-on of 'numeric_type' to the ES request. Then sorting on a field that can be of date or date_nanos type works correctly

* Add functional test
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@kertal kertal merged commit dbda7f4 into elastic:7.x Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants