From 3f2f79d40f85a966cc9e18881963fc4f2947936c Mon Sep 17 00:00:00 2001 From: kelson42 Date: Fri, 18 Mar 2011 15:13:57 +0000 Subject: [PATCH] + introduction of estimatedResultCount in template --- src/common/kiwix/searcher.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/kiwix/searcher.cpp b/src/common/kiwix/searcher.cpp index 14d2dbc1e..1867217bf 100644 --- a/src/common/kiwix/searcher.cpp +++ b/src/common/kiwix/searcher.cpp @@ -135,6 +135,7 @@ namespace kiwix { this->resultOffset = this->results.begin(); oData["results"] = resultsCDT; + oData["count"] = this->estimatedResultCount; STLW::string sResult; StringOutputCollector oDataCollector(sResult);