diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-01-18 16:40:54 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-01-18 16:43:25 +0000 |
commit | 7a803c8516398649e8fff3184d731db736603eee (patch) | |
tree | 0ecf6e5d73433301117b6ecebdd241eec472460a /document | |
parent | 7bb4d5ba966332d874da14e22a1f6537cbbd1104 (diff) |
Trigger annotation deserialization when inspecting transactionlog verbose.
Diffstat (limited to 'document')
-rw-r--r-- | document/src/vespa/document/fieldvalue/stringfieldvalue.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/document/src/vespa/document/fieldvalue/stringfieldvalue.cpp b/document/src/vespa/document/fieldvalue/stringfieldvalue.cpp index 47e96b4f4e4..be5070ff3db 100644 --- a/document/src/vespa/document/fieldvalue/stringfieldvalue.cpp +++ b/document/src/vespa/document/fieldvalue/stringfieldvalue.cpp @@ -56,6 +56,13 @@ StringFieldValue::print(std::ostream& out, bool verbose, const std::string& inde Parent::print(out, verbose, indent); ConstBufferRef buf = getSerializedAnnotations(); out << "\"\n" << indent << " " << vespalib::HexDump(buf.data(), buf.size()); + if (verbose) { + out << "\nSpanTree(\n"; + for (const auto & tree: getSpanTrees()) { + out << "Tree '" << tree->getName() << "':" << tree->toString() << std::endl; + } + out << ")\n"; + } out << ")"; } } |