You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2013/07/08 13:31:50 UTC

[jira] [Comment Edited] (SOLR-5002) optimize numDocs(Query,DocSet) when filterCache is null

    [ https://issues.apache.org/jira/browse/SOLR-5002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13701948#comment-13701948 ] 

Uwe Schindler edited comment on SOLR-5002 at 7/8/13 11:30 AM:
--------------------------------------------------------------

[~shalinmangar], that was already fixed by editing commit message! I removed the obsolete comment here!
                
      was (Author: thetaphi):
    [~shalinmangar], that was already fixed by edition commit message!
                  
> optimize numDocs(Query,DocSet) when filterCache is null
> -------------------------------------------------------
>
>                 Key: SOLR-5002
>                 URL: https://issues.apache.org/jira/browse/SOLR-5002
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Robert Muir
>             Fix For: 5.0, 4.4
>
>         Attachments: SOLR-5002.patch
>
>
> getDocSet(Query, DocSet) has this opto, but numDocs does not.
> Especially in this case, where we just want the intersection count, its faster to do a filtered query with TotalHitCountCollector and not create bitsets at all...
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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