diff options
author | Tor Egge <Tor.Egge@online.no> | 2023-11-03 16:07:04 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2023-11-03 16:07:04 +0100 |
commit | 7b3c03043d15d9e8f9e7a4763b5161e7cf0b8ead (patch) | |
tree | 8f9f08e895ab5bf196a4c92c2f9934b211225d8e /config-model/src/main/java | |
parent | b6edcd4d02c579e827ff441258a46d0dad7ca824 (diff) |
Adjust comment: add rationale for writing to summary field source.
Diffstat (limited to 'config-model/src/main/java')
-rw-r--r-- | config-model/src/main/java/com/yahoo/schema/processing/IndexingOutputs.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/schema/processing/IndexingOutputs.java b/config-model/src/main/java/com/yahoo/schema/processing/IndexingOutputs.java index 385e030130b..071c2878ae8 100644 --- a/config-model/src/main/java/com/yahoo/schema/processing/IndexingOutputs.java +++ b/config-model/src/main/java/com/yahoo/schema/processing/IndexingOutputs.java @@ -137,7 +137,12 @@ public class IndexingOutputs extends Processor { for (String fieldName : summaryFields) { ret.add(new SummaryExpression(fieldName)); } - // Write to summary field source + /* + * Write to summary field source. AddExtraFieldsToDocument processor adds the "copy" + * summary transform to summary fields without a corresponding explicitly declared + * document field (2023-11-01). Future vespa versions will stop adding document + * fields for those summary fields. + */ if (!summaryFields.contains(field.getName())) { ret.add(new SummaryExpression(field.getName())); } |