diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-09-30 13:46:50 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-09-30 13:46:50 +0200 |
commit | 9fdcf8f92eaf3b47053fa2c131832dea1c792d0c (patch) | |
tree | c4d8f2a7c8297fce1b4b6f07a32ab0daeac35aaa /container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java | |
parent | 1bc2cca4b527bb9a5a8c67744b0796c9fafbe024 (diff) |
Pass destination
This allows embedders to switch on it to enable bucket testing
and similar.
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java')
-rw-r--r-- | container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java | 3 |
1 files changed, 2 insertions, 1 deletions
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) |