3
0
Fork 0

Pass verboseFlag to underlying kiwix::Searcher.

better_search_tool
Matthieu Gautier 8 years ago
parent 71ffaaa05a
commit 2b69cc8ffc

@ -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;

Loading…
Cancel
Save