jpountz commented on PR #11840: URL: https://github.com/apache/lucene/pull/11840#issuecomment-1278661850
Agreed on making this Lucene 10. As far as bw compat is concerned, I was thinking of updating Lucene 9 this way: - introduce `Query#rewrite(IndexSearcher)` and make it delegate to `Query#rewrite(IndexReader)` - keep existing implementations as they are, except possibly the few ones where we'd like to take advantage of the executor - deprecate `Query#rewrite(IndexReader)` - make `IndexSearcher#rewrite(Query)` use `Query#rewrite(IndexSearcher)` -- 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