From 98411f1b4af7a420d81d4de0f6115be81680896f Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 27 Jul 2018 17:55:42 +0200 Subject: Don't print all results. --- common/fulltextindex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/fulltextindex.cpp b/common/fulltextindex.cpp index cc7fecf..abe29f5 100644 --- a/common/fulltextindex.cpp +++ b/common/fulltextindex.cpp @@ -172,7 +172,7 @@ QVector FulltextIndex::lookup(const QString &searchTerm) const auto limit = searchTerm.size() <= 4 ? 1000 : 10000; Xapian::MSet mset = enquire.get_mset(0, limit); - SinkTrace() << "Result set: " << QString::fromStdString(mset.get_description()); + SinkTrace() << "Found " << mset.size() << " results, limited to " << limit; for (Xapian::MSetIterator it = mset.begin(); it != mset.end(); it++) { auto doc = it.get_document(); const auto data = doc.get_value(0); -- cgit v1.2.3