mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
opt: record xapian total length
This commit is contained in:
parent
446c804c7d
commit
4ce76b7894
|
@ -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" );
|
||||
|
|
Loading…
Reference in a new issue