mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
opt: use xapian as headword index for mdx dictionary
This commit is contained in:
parent
1a75bc3e86
commit
1c05ddc432
|
@ -1034,6 +1034,8 @@ void BtreeIndex::buildXapianIndex( IndexedWords const & indexedWords, string fil
|
|||
for ( const auto &[ word, articleLinks ] : indexedWords ) {
|
||||
|
||||
for ( const auto & articleLink : articleLinks ) {
|
||||
if ( !articleLink.prefix.empty() )
|
||||
continue;
|
||||
Xapian::Document doc;
|
||||
|
||||
indexer.set_document( doc );
|
||||
|
|
Loading…
Reference in a new issue