hosgood opened a new pull request, #3184: URL: https://github.com/apache/jackrabbit-oak/pull/3184
For an ordered property, nodes without a useable value (absent, or not convertible to the declared type) were sorted differently by Lucene (as 0 / the epoch), Elastic (last in both directions) and the query engine (first ascending, last descending). Union queries with ORDER BY could therefore place such nodes in the middle of the results. Both indexes now follow the query engine’s convention: such nodes sorts first in ascending and last in descending order. - Lucene: missing values for Long/Date/Double sorts are set to the smallest value (strings already behaved this way) - Elastic: `missing: _first` on ascending property sorts -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
