Ignacio Vera created LUCENE-10289: ------------------------------------- Summary: DocIdSetBuilder#grow() should take a long instead of int Key: LUCENE-10289 URL: https://issues.apache.org/jira/browse/LUCENE-10289 Project: Lucene - Core Issue Type: Improvement Reporter: Ignacio Vera
DocIdSetBuilder accepts adding duplicates and therefore it potentially can accept more than Integer.MAX_VALUE docs. For example, it already holds a counter internally that is a long. It probably make sense to be able to grow using a long instead of an int. This will allow us to change PointValue.IntersectVisitor#grow() from int to long and remove some unnecessary dance when we need to bulk add more that Integer.MAX_VALUE points. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org