aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2022-04-25 14:01:57 +0000
committerGeir Storli <geirst@yahooinc.com>2022-04-26 09:14:10 +0000
commit77cc53839d3a9c2eeb4781ad81dc97feaaf4fc00 (patch)
tree9dfb032ea4eea17773ab2e3706d6376c8a307cb3 /searchlib
parentdebff80c81f6362427d25b8d5d1a6f3ae90d859d (diff)
Improve and re-structure trace logging from the query setup part of matching.
Especially, provide more details for the selection of global filter strategy.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/engine/trace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/engine/trace.h b/searchlib/src/vespa/searchlib/engine/trace.h
index 1940af5cf38..709dc05d93c 100644
--- a/searchlib/src/vespa/searchlib/engine/trace.h
+++ b/searchlib/src/vespa/searchlib/engine/trace.h
@@ -85,6 +85,7 @@ public:
vespalib::string toString() const;
bool hasTrace() const { return static_cast<bool>(_trace); }
Cursor & getRoot() const { return root(); }
+ Cursor & getTraces() const { return traces(); }
vespalib::Slime & getSlime() const { return slime(); }
bool shouldTrace(uint32_t level) const { return level <= _level; }
uint32_t getLevel() const { return _level; }