salvatorecampagna commented on issue #14515:
URL: https://github.com/apache/lucene/issues/14515#issuecomment-3423858606

   I'd like to work on this and wanted to check my approach first.
   
   Looking at @jpountz's comment about the mutability issue - what if we add a 
simple `MergeObserver` wrapper class that holds the `MergeSpecification` 
internally but only exposes read-only methods? Things like checking merge 
count, waiting for completion, etc.
   
   It would be in the same package, allowing it to call the existing 
package-private methods. `forceMergeDeletes()` would then wrap and return it 
(in place of void).
   
   Does it make sense?


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