From 22059973229fe08ac575b5b8737b5ece33de3b48 Mon Sep 17 00:00:00 2001 From: Xiao Yi Fang Date: Fri, 19 Jul 2024 17:19:15 +0800 Subject: [PATCH] opt: record xapian total length --- src/ftshelpers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ftshelpers.cc b/src/ftshelpers.cc index e551a9d6..79a53fa9 100644 --- a/src/ftshelpers.cc +++ b/src/ftshelpers.cc @@ -113,7 +113,7 @@ void makeFTSIndex( BtreeIndexing::BtreeDictionary * dict, QAtomicInt & isCancell bool no_position = false; for ( auto const & address : offsets ) { - //check every 1000 documents. + //check every 10000 documents. if ( indexedDoc % 10000 == 0 && !no_position ) { auto totalLength = db.get_total_length(); //arbitrary value.