summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/query/profile/compiled/ValueWithSource.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@verizonmedia.com>2019-10-28 14:43:39 +0100
committerJon Bratseth <bratseth@verizonmedia.com>2019-10-28 14:43:39 +0100
commit7b9f05860e4906dc68a4bbd5d8382976eb720d74 (patch)
tree8d1ab52324858fc8b5f76d4f2779f380379f94ae /container-search/src/main/java/com/yahoo/search/query/profile/compiled/ValueWithSource.java
parentf55ece33c8f97ad8c51f58ebdfed15a7d95e89dc (diff)
Trace sources of query profile values
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/query/profile/compiled/ValueWithSource.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/query/profile/compiled/ValueWithSource.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/profile/compiled/ValueWithSource.java b/container-search/src/main/java/com/yahoo/search/query/profile/compiled/ValueWithSource.java
index c2ce34c3f47..11281b3cd52 100644
--- a/container-search/src/main/java/com/yahoo/search/query/profile/compiled/ValueWithSource.java
+++ b/container-search/src/main/java/com/yahoo/search/query/profile/compiled/ValueWithSource.java
@@ -39,7 +39,10 @@ public class ValueWithSource {
@Override
public String toString() {
- return value + " from " + ownerId + ( variant != null ? " variant " + variant : "");
+ return value +
+ " (from query profile '" + ownerId + "'" +
+ ( variant != null ? " variant " + variant : "") +
+ ")";
}
}