-
Notifications
You must be signed in to change notification settings - Fork 190
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
[BUG] can't sort on field when document of that field contains null. fixed in elasticsearch-java. #158
Comments
@joelbolt35 Please feel free to reimplement a fix in this project. If you do, please confirm that you're not copying from non-APLv2 elasticsearch-java. |
Hello there, As a notice, on a migration effort for Apache James to OpenSearch, with the rest client 2.0.0 and OpenSearch 2.0.0 we encouter the issue... |
Hi guys! Tried to take a crack at it as mentioned by my friend above we encountered that issue too. I took an approach completely different from the fix from es so I don't think it should be an issue. Cheers! |
Thanks for merging it team! Just want to know when can we expect a next release of the client with the fix? |
@Arsnael I think we didn't release 2.0.1 because it wasn't needed. The 2.0 release works with 2.0.1. I do understand that you want this bug fix released. Maybe we should start doing this more methodically? Care to open an issue saying "Release v. Next" and say "I need bug fix XYZ" or something like that? |
What is the bug?
A full convo can be found here regarding the bug:
https://discuss.elastic.co/t/failure-with-sorts-and-new-co-elastic-clients-elasticsearch-java-client/291511/12
tl;dr: Sorting on a field where documents contain null breaks.
What is the expected behavior?
I am able to sort on a field where some documents contain NULL in those fields.
Elastic Searches Fix
https://github.com/elastic/elasticsearch-java/pull/68/files
The text was updated successfully, but these errors were encountered: