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


   Oh, but that might still be not correct. The buffers implementation does not 
grow with unique documents but with every call of BulkAdder#add because it does 
not discard duplicates. What I did only works if I assume that providing 
Integer.MAX_VALUE, the builder can add any number of calls to BulkAdder#add. 
Something is not totally right here as Buffers requires to know how many calls 
you are gonna be doing to BulkAdder#add and not the number of unique documents 
you are adding.


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