3
0
Fork 0

Merge pull request #67 from kiwix/no_globalsearch_on_zim

Do not do globalSearch if the zim file has no full text index.
better_search_tool
Matthieu Gautier 8 years ago committed by GitHub
commit 4a1b9cbfa9

@ -956,7 +956,10 @@ int main(int argc, char** argv)
} catch (...) { } catch (...) {
cerr << "Unable to open the search index '" << indexPath << "'." cerr << "Unable to open the search index '" << indexPath << "'."
<< endl; << endl;
searchers[humanReadableId] = nullptr;
} }
} else {
searchers[humanReadableId] = nullptr;
} }
} }
} }

Loading…
Cancel
Save