gsmiller commented on code in PR #1062: URL: https://github.com/apache/lucene/pull/1062#discussion_r948336077
########## lucene/core/src/java/org/apache/lucene/search/TermInSetQuery.java: ########## @@ -363,6 +370,29 @@ public boolean isCacheable(LeafReaderContext ctx) { // sets. return ramBytesUsed() <= RamUsageEstimator.QUERY_DEFAULT_RAM_BYTES_USED; } + + static final class MatchAllDocIdSet extends DocIdSet { + private final int size; Review Comment: Thanks for the suggestion @LuXugang. Yeah, I think exposing an `ALL` `DocIdSet` for general use is reasonable. I'll update the PR. -- 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