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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org