mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-10-04 20:27:43 +03:00
fix docs in collection count
This commit is contained in:
parent
ccbb4cb818
commit
60644b54e1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user