summaryrefslogtreecommitdiffstats
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-25 14:01:57 +0000
commite4807b9c5d6f54e5bf55bef5e6ddf64509342308 (patch)
tree365124097255ee026233d1a4d068c0ca3895b652 /searchlib
parent4dcee519a7b8d1b48cd9e0b3b6cbb003dc6c24d4 (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; }