mikemccand commented on issue #13442: URL: https://github.com/apache/lucene/issues/13442#issuecomment-2143387731
+1 to keeping `Query` classes lean. A general framework on `IndexSearcher` sounds nice, but it's hard to generalize with just this one use case? Can we think of other queries/collectors that might also benefit from this? Maybe the exotic rewrite choices that `MultiTermQuery` subclasses make (rewrite as filter, rewrite to boolean disjucntion of `TermQuery`, ...)? -- 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]
