diff --git a/src/ftshelpers.cc b/src/ftshelpers.cc index edf263ff..e147c337 100644 --- a/src/ftshelpers.cc +++ b/src/ftshelpers.cc @@ -164,7 +164,8 @@ void makeFTSIndex( BtreeIndexing::BtreeDictionary * dict, QAtomicInt & isCancell db.commit(); db.compact( dict->ftsIndexName() ); - + auto totalLength = db.get_total_length(); + qDebug() << "xapian database total length(compact):" << totalLength; db.close(); Utils::Fs::removeDirectory( dict->ftsIndexName() + "_temp" );