diff options
Diffstat (limited to 'common/typeindex.cpp')
-rw-r--r-- | common/typeindex.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/typeindex.cpp b/common/typeindex.cpp index f2c67a1..a897ad0 100644 --- a/common/typeindex.cpp +++ b/common/typeindex.cpp | |||
@@ -234,6 +234,7 @@ QVector<QByteArray> TypeIndex::query(const Sink::QueryBase &query, QSet<QByteArr | |||
234 | FulltextIndex fulltextIndex{resourceInstanceId}; | 234 | FulltextIndex fulltextIndex{resourceInstanceId}; |
235 | const auto keys = fulltextIndex.lookup(it.value().value.toString()); | 235 | const auto keys = fulltextIndex.lookup(it.value().value.toString()); |
236 | appliedFilters << it.key(); | 236 | appliedFilters << it.key(); |
237 | SinkTraceCtx(mLogCtx) << "Fulltext index lookup found " << keys.size() << " keys."; | ||
237 | return keys; | 238 | return keys; |
238 | } | 239 | } |
239 | } | 240 | } |
@@ -244,7 +245,7 @@ QVector<QByteArray> TypeIndex::query(const Sink::QueryBase &query, QSet<QByteArr | |||
244 | const auto keys = indexLookup(index, query.getFilter(it.key())); | 245 | const auto keys = indexLookup(index, query.getFilter(it.key())); |
245 | appliedFilters << it.key(); | 246 | appliedFilters << it.key(); |
246 | appliedSorting = it.value(); | 247 | appliedSorting = it.value(); |
247 | SinkTraceCtx(mLogCtx) << "Index lookup on " << it.key() << it.value() << " found " << keys.size() << " keys."; | 248 | SinkTraceCtx(mLogCtx) << "Sorted index lookup on " << it.key() << it.value() << " found " << keys.size() << " keys."; |
248 | return keys; | 249 | return keys; |
249 | } | 250 | } |
250 | } | 251 | } |