mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-22 11:22:38 -04:00
+ small fix, clucene and xapian code were interverted
This commit is contained in:
parent
10782a15be
commit
cf0a433b67
@ -72,9 +72,9 @@ int main(int argc, char **argv) {
|
||||
/* Try to prepare the indexing */
|
||||
try {
|
||||
if (backend == CLUCENE) {
|
||||
indexer = new kiwix::XapianIndexer(zimFilePath, indexPath);
|
||||
} else {
|
||||
indexer = new kiwix::CluceneIndexer(zimFilePath, indexPath);
|
||||
} else {
|
||||
indexer = new kiwix::XapianIndexer(zimFilePath, indexPath);
|
||||
}
|
||||
} catch (...) {
|
||||
cerr << "Unable to index '" << zimFilePath << "'." << endl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user