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


   @iverase @jpountz I "undrafted" the PR and added a commit with the 
`grow(long)` that just truncates-n-forwards. It seems like the best compromise 
based on discussion above. 
   
   I also made some minor tweaks to the javadoc to try to simplify the 
explanation about what the grow parameter means. Again, it is kind of academic 
when you think about it, values larger than `maxDoc >> 8` are not really needed 
by any code because we switch to the `FixedBitSet`. But the one-liner method 
doesn't bother me that much, i am just after keeping logic simple and 
abstractions minimal.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to