Up until ES2.x I used the following code for sorting:
Now, we want to go to ES5.2 and see that this sentence don't work anymore, because the field "missing" is gone:
errormessage: "reason": "[_score] unknown field [missing], parser not found"
Is this intended? We are not using anything with geo_....
I looked through the breaking changes, but could not find anything mentioning this change.
If you use
_score for sorting, missing values are not expected.
This is not documented and was tolerated in ES2.x. I did not expect this error to happen, and searching for it returned no results.
I agree that this is indeed weird and I'll update my code, no problem.
But this should be documented in the breaking changes IMHO.
By the way, have you an idea in which version this was implemented?
Please do raise an GH issue for this so we can add it
What is a GH? (Feeling dumb now)
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.