You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/09/10 08:52:01 UTC

[GitHub] [lucene] romseygeek opened a new pull request #289: LUCENE-10094: Delegate count() from CachingWrapperWeight

romseygeek opened a new pull request #289:
URL: https://github.com/apache/lucene/pull/289


   CachingWrapperWeight always returns -1 from its `count()` method, which
   disables the fast path for TermQuery, MatchAllDocQuery, etc, when running
   `IndexSearcher.count(Query)`.  This commit makes it delegate the method
   to its wrapped Weight.


-- 
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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


[GitHub] [lucene] romseygeek merged pull request #289: LUCENE-10094: Delegate count() from CachingWrapperWeight

Posted by GitBox <gi...@apache.org>.
romseygeek merged pull request #289:
URL: https://github.com/apache/lucene/pull/289


   


-- 
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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org