You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/08/11 13:46:27 UTC

[GitHub] [lucene-solr] iverase opened a new pull request, #2668: LUCENE-10678: Fix potential overflow when computing the partition point on the BKD tree (#1065)

iverase opened a new pull request, #2668:
URL: https://github.com/apache/lucene-solr/pull/2668

   We currently compute the partition point for a set of points by multiplying the number of nodes that needs to be on
   the left of the BKD tree by the maxPointsInLeafNode. This multiplication is done on the integer space so if the partition point
   is bigger than Integer.MAX_VALUE it will overflow.
   This commit moves the multiplication to the long space so it doesn't overflow.


-- 
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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene-solr] iverase merged pull request #2668: LUCENE-10678: Fix potential overflow when computing the partition point on the BKD tree (#1065)

Posted by GitBox <gi...@apache.org>.
iverase merged PR #2668:
URL: https://github.com/apache/lucene-solr/pull/2668


-- 
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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org