iverase commented on pull request #692:
URL: https://github.com/apache/lucene/pull/692#issuecomment-1049887302


   32 bits will need to be discarded anyway, the issue is where. 
   
   You either do it at the PointValues level by calling grow like:
   
   ```
   visitor.grow((int) Math.min(getDocCount(), pointTree.size());
   ```
   
   Or you  discarded in the DocIdSetBuilder and allow grow to be called just 
like:
   
   ```
   visitor.grow(pointTree.size());
   ```
   
   


-- 
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

Reply via email to