aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/Query.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-04-08 15:48:05 +0200
committerJon Bratseth <bratseth@gmail.com>2022-04-08 15:48:05 +0200
commit116201748d6169a822abd17cbf68f9df5034e421 (patch)
treedd31dfe6f22417cdb9d93c802533d571e61a9c77 /container-search/src/main/java/com/yahoo/search/Query.java
parentf1814747bf7548bdec63ca608969bbd730e6c8b5 (diff)
Add serialization test
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/Query.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/Query.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/Query.java b/container-search/src/main/java/com/yahoo/search/Query.java
index 7d78012bcfd..74091d9978c 100644
--- a/container-search/src/main/java/com/yahoo/search/Query.java
+++ b/container-search/src/main/java/com/yahoo/search/Query.java
@@ -382,7 +382,8 @@ public class Query extends com.yahoo.processing.Request implements Cloneable {
.chain(new DefaultProperties());
// Pass the values from the query profile which maps through a field in the Query object model
- // through the property chain to cause those values to be set in the Query object model
+ // through the property chain to cause those values to be set in the Query object model with
+ // the right types according to query profiles
setFieldsFrom(queryProfileProperties, requestMap);
// We need special handling for "select" because it can be both the prefix of the nested JSON select