[ https://issues.apache.org/jira/browse/SOLR-5002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated SOLR-5002: ------------------------------ Comment: was deleted (was: [~thetaphi] - The wrong issue number has been added to the change log in branch_4x for this SolrResourceLoader commit. Also trunk doesn't seem to have this entry.) > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org