zhaih commented on PR #11840:
URL: https://github.com/apache/lucene/pull/11840#issuecomment-1275696638

   Hi @jpountz thank for taking a look!
   > We already have one class that wraps an IndexReader and an Executor: 
IndexSearcher. Should this new rewrite method take an IndexSearcher instead of 
an IndexReader and an Executor?
   
   I think it'd be a little weird to know that query rewriting requires an 
IndexSearcher from a user point of view? Also for people who're not using 
IndexSearcher provided by lucene (like we're in LinkedIn) it will be a bit 
inconvenience to create an IndexSearcher just for query rewriting?
   
   > (and should it replace the existing rewrite method instead of just adding 
another one?)
   
   Yes I think replace is better, I previously wanted to make it into 9.x so 
don't want to change the API, are we able to make it in 9.x even if with the 
API change?


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