diff options
author | Arne H Juul <arnej@yahooinc.com> | 2022-01-21 13:39:18 +0000 |
---|---|---|
committer | Arne H Juul <arnej@yahooinc.com> | 2022-01-21 13:39:18 +0000 |
commit | 09e000c9cde9943232098f02aec7f51961686860 (patch) | |
tree | bf7fddb41b4b35134654c6f5cc6254fbb5f5e5a6 /container-search/src/main | |
parent | 9bf61df6b5fc448498b2ac8d792549933e2a3e1d (diff) |
let us not have too many tuning parameters yet
Diffstat (limited to 'container-search/src/main')
-rw-r--r-- | container-search/src/main/java/com/yahoo/search/rendering/JsonRenderer.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/rendering/JsonRenderer.java b/container-search/src/main/java/com/yahoo/search/rendering/JsonRenderer.java index a2d9e78b37f..157223c110c 100644 --- a/container-search/src/main/java/com/yahoo/search/rendering/JsonRenderer.java +++ b/container-search/src/main/java/com/yahoo/search/rendering/JsonRenderer.java @@ -77,9 +77,7 @@ import static com.fasterxml.jackson.databind.SerializationFeature.FLUSH_AFTER_WR public class JsonRenderer extends AsynchronousSectionedRenderer<Result> { private static final CompoundName WRAP_DEEP_MAPS = new CompoundName("renderer.json.jsonMaps"); - private static final CompoundName WRAP_MAPS_ALL = new CompoundName("renderer.json.jsonMapsAll"); private static final CompoundName WRAP_WSETS = new CompoundName("renderer.json.jsonWsets"); - private static final CompoundName WRAP_WSETS_ALL = new CompoundName("renderer.json.jsonWsetsAll"); private static final CompoundName DEBUG_RENDERING_KEY = new CompoundName("renderer.json.debug"); private static final CompoundName JSON_CALLBACK = new CompoundName("jsoncallback"); private static final CompoundName TENSOR_FORMAT = new CompoundName("format.tensors"); @@ -229,8 +227,9 @@ public class JsonRenderer extends AsynchronousSectionedRenderer<Result> { fieldConsumerSettings.debugRendering = props.getBoolean(DEBUG_RENDERING_KEY, false); fieldConsumerSettings.jsonDeepMaps = props.getBoolean(WRAP_DEEP_MAPS, false); fieldConsumerSettings.jsonWsets = props.getBoolean(WRAP_WSETS, false); - fieldConsumerSettings.jsonMapsAll = props.getBoolean(WRAP_MAPS_ALL, false); - fieldConsumerSettings.jsonWsetsAll = props.getBoolean(WRAP_WSETS_ALL, false); + // we may need more fine tuning, but for now use the same query parameters here: + fieldConsumerSettings.jsonMapsAll = props.getBoolean(WRAP_DEEP_MAPS, false); + fieldConsumerSettings.jsonWsetsAll = props.getBoolean(WRAP_WSETS, false); fieldConsumerSettings.tensorShortForm = (props.get(TENSOR_FORMAT) != null && props.getString(TENSOR_FORMAT).equalsIgnoreCase("short")); } |