msokolov opened a new issue, #15845: URL: https://github.com/apache/lucene/issues/15845
### Description In case a `Term` is indexed for every document (in a segment) we could rewrite `TermQuery` for that to `MatchAllDocsQuery` easily by looking at term statistics. Are we trying to avoid looking up terms during rewrite or something? -- 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]
