mkhludnev commented on issue #14055:
URL: https://github.com/apache/lucene/issues/14055#issuecomment-2535572685

   Hi, 
   Github issues is not a way to ask nor discuss such questions. Please join 
java-user mailing list see 
https://lucene.apache.org/core/discussion.html#Java%20User%20List
   With regards to the question, I couldn't find the proper API for this. The 
probable hack is:
   - inject pair of segements into the custom merge policy
   - call `IndexWriter.maybeMerge()` 
   - custom merge policy yields the desired pair of segments via 
`MergePolicy#findMerges()` and forget them.  
   
   NB: It requires thorough implementation, I never done anything like this. 


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