opt: remove unused code

This commit is contained in:
Xiao Yi Fang 2024-07-18 10:15:44 +08:00
parent 5164ffba67
commit bf19b960fd

View file

@ -66,8 +66,6 @@ void makeFTSIndex( BtreeIndexing::BtreeDictionary * dict, QAtomicInt & isCancell
// indexer.set_stemming_strategy(indexer.STEM_SOME_FULL_POS); // indexer.set_stemming_strategy(indexer.STEM_SOME_FULL_POS);
indexer.set_flags( Xapian::TermGenerator::FLAG_CJK_NGRAM ); indexer.set_flags( Xapian::TermGenerator::FLAG_CJK_NGRAM );
BtreeIndexing::IndexedWords indexedWords;
QSet< uint32_t > setOfOffsets; QSet< uint32_t > setOfOffsets;
setOfOffsets.reserve( dict->getArticleCount() ); setOfOffsets.reserve( dict->getArticleCount() );