fix docs in collection count

This commit is contained in:
Matt Wells 2014-09-20 09:32:57 -07:00
parent ccbb4cb818
commit 60644b54e1

View File

@ -2316,7 +2316,8 @@ bool printSearchResultsHeader ( State0 *st ) {
// estimate it
if ( base ) docsInColl = base->getNumGlobalRecs();
// multiply by # of *unique* shards
docsInColl *= g_hostdb.getNumShards();
// no because it already does this i think
//docsInColl *= g_hostdb.getNumShards();
// include number of docs in the collection corpus
if ( docsInColl >= 0LL ) {
if ( si->m_format == FORMAT_XML)