Pass verboseFlag to underlying kiwix::Searcher.

This commit is contained in:
Matthieu Gautier 2017-12-19 14:13:36 +01:00
parent 71ffaaa05a
commit 2b69cc8ffc

View File

@ -100,7 +100,7 @@ int main(int argc, char** argv)
/* Start the indexing */
if (searcher != NULL) {
string searchString(search);
searcher->search(searchString, 0, 10);
searcher->search(searchString, 0, 10, verboseFlag);
kiwix::Result* p_result;
while ((p_result = searcher->getNextResult())) {
cout << p_result->get_title() << endl;