mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-10-11 13:27:34 -04:00
1 parent
e89f4e2ac7
commit
07ff4eab43
2 files changed
+29
-8
No files matched your search
+1
-1
@@ -436,7 +436,7 @@ void Library::updateBookDB(const Book& book)
|
||||
}
|
||||
indexer.index_text(normalizeText(book.getCreator()), 1, "A");
|
||||
indexer.index_text(normalizeText(book.getPublisher()), 1, "XP");
|
||||
indexer.index_text(normalizeText(book.getName()), 1, "XN");
|
||||
doc.add_term("XN"+normalizeText(book.getName()));
|
||||
indexer.index_text(normalizeText(book.getCategory()), 1, "XC");
|
||||
|
||||
for ( const auto& tag : split(normalizeText(book.getTags()), ";") ) {
|
||||
|
||||
Reference in new issue
Block a user