sgup432 commented on issue #16495:
URL: https://github.com/apache/lucene/issues/16495#issuecomment-5244822506

   @kkewwei Got it. How are you thinking to expose this feature? I think it 
should be an opt-in feature.
   I believe one way would be expose desired APIs to achieve this i.e. 1) 
Provide a public API to retrieve unique queries (`cachedQueries()` is currently 
a private method), 2) and then another API to hook a listener to listen to 
merged segment which already exists like you mentioned.


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