mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-22 03:12:20 -04:00
Pass verboseFlag to underlying kiwix::Searcher.
This commit is contained in:
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…
x
Reference in New Issue
Block a user