From a82fcc5b74a6fb788e29103585779bcae2af5ad7 Mon Sep 17 00:00:00 2001 From: Geir Storli Date: Tue, 12 Jul 2022 09:28:45 +0000 Subject: Add new summary transform for all 'documentid' summary fields. This prepares for no longer inserting 'documentid' fields in the docsum blob in the backend. Instead such fields will be produced using a docsum writer (transform) that uses the document instance to get the id. --- .../main/java/com/yahoo/schema/processing/AddExtraFieldsToDocument.java | 1 + 1 file changed, 1 insertion(+) (limited to 'config-model/src/main/java/com/yahoo/schema/processing/AddExtraFieldsToDocument.java') diff --git a/config-model/src/main/java/com/yahoo/schema/processing/AddExtraFieldsToDocument.java b/config-model/src/main/java/com/yahoo/schema/processing/AddExtraFieldsToDocument.java index ca81301da73..471d338a5f6 100644 --- a/config-model/src/main/java/com/yahoo/schema/processing/AddExtraFieldsToDocument.java +++ b/config-model/src/main/java/com/yahoo/schema/processing/AddExtraFieldsToDocument.java @@ -39,6 +39,7 @@ public class AddExtraFieldsToDocument extends Processor { case DYNAMICBOLDED: case DYNAMICTEASER: case TEXTEXTRACTOR: + case DOCUMENT_ID: // TODO: Adding the 'documentid' field should no longer be needed when the docsum framework in the backend has been simplified and the transform is always used. addSummaryField(schema, document, summaryField, validate); break; default: -- cgit v1.2.3