mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-23 03:52:35 -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 */
|
/* Start the indexing */
|
||||||
if (searcher != NULL) {
|
if (searcher != NULL) {
|
||||||
string searchString(search);
|
string searchString(search);
|
||||||
searcher->search(searchString, 0, 10);
|
searcher->search(searchString, 0, 10, verboseFlag);
|
||||||
kiwix::Result* p_result;
|
kiwix::Result* p_result;
|
||||||
while ((p_result = searcher->getNextResult())) {
|
while ((p_result = searcher->getNextResult())) {
|
||||||
cout << p_result->get_title() << endl;
|
cout << p_result->get_title() << endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user