zhaih commented on PR #12793: URL: https://github.com/apache/lucene/pull/12793#issuecomment-1808581207
@mikemccand It's just concurrent rewrite, I already have some javadoc warn about this: https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/search/RegexpQuery.java#L162 But I'm thinking about adding a new API to add to `RewriteMethod` to indicate whether they're concurrent rewrite or not (when searcher has the executor), and then we can use that combined with IndexSearcher to throw some `IllegalArgumentException`? -- 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