LuXugang commented on PR #873: URL: https://github.com/apache/lucene/pull/873#issuecomment-1130265413
> `Integer.MAX_VALUE - node` Thanks @jpountz , this idea is really great, it is a good way to keep high 32 bit always 0 so that it made node will not affect the sort logic by score. I used it to replace this bad readable `nodeReverse = nodeReverse << 32 >>> 32`. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
