cwperks opened a new pull request, #15120:
URL: https://github.com/apache/lucene/pull/15120

   ### Description
   
   This PR abstracts the logic to add estimatedByteSizes on merges to a method 
called `addEstimatedBytesToMerge` so that it can be re-used in multiple places.
   
   This PR adds a simple test to ensure that estimated bytes are added to the 
merge after `addEstimatedBytesToMerge(MergePolicy.OneMerge merge)` is called
   
   The test can be run with `./gradlew :lucene:core:test --tests 
TestIndexWriterMerging.testAddEstimatedBytesToMerge -i`
   
   Resolves https://github.com/apache/lucene/issues/14993
   


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