From 9fdcf8f92eaf3b47053fa2c131832dea1c792d0c Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Thu, 30 Sep 2021 13:46:50 +0200 Subject: Pass destination This allows embedders to switch on it to enable bucket testing and similar. --- .../java/com/yahoo/search/query/profile/QueryProfileProperties.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java') diff --git a/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java b/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java index 53be827073c..bcf4f568998 100644 --- a/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java +++ b/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java @@ -121,7 +121,8 @@ public class QueryProfileProperties extends Properties { if (fieldDescription != null) { if (i == name.size() - 1) { // at the end of the path, check the assignment type - value = fieldDescription.getType().convertFrom(value, new ConversionContext(profile.getRegistry(), + value = fieldDescription.getType().convertFrom(value, new ConversionContext(localName, + profile.getRegistry(), embedder, context)); if (value == null) -- cgit v1.2.3