jimczi commented on PR #16847: URL: https://github.com/apache/lucene/pull/16847#issuecomment-6285300329
This is already handled, just not documented. The merge policies cap every merged segment at `MAX_DOCS`, so `forceMerge` can't build an oversized segment, it just stops short of `maxNumSegments` when the live docs don't fit. I updated the javadoc to say so. -- 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]
