diff options
Diffstat (limited to 'config-model/src/main/java/com/yahoo/schema/FieldOperationApplierForSearch.java')
-rw-r--r-- | config-model/src/main/java/com/yahoo/schema/FieldOperationApplierForSearch.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/config-model/src/main/java/com/yahoo/schema/FieldOperationApplierForSearch.java b/config-model/src/main/java/com/yahoo/schema/FieldOperationApplierForSearch.java new file mode 100644 index 00000000000..b107dbaea59 --- /dev/null +++ b/config-model/src/main/java/com/yahoo/schema/FieldOperationApplierForSearch.java @@ -0,0 +1,23 @@ +// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package com.yahoo.schema; + +import com.yahoo.document.Field; +import com.yahoo.schema.document.SDDocumentType; + +/** + * @author Einar M R Rosenvinge + */ +public class FieldOperationApplierForSearch extends FieldOperationApplier { + + @Override + public void process(SDDocumentType sdoc) { + //Do nothing + } + + public void process(Schema schema) { + for (Field field : schema.extraFieldList()) { + apply(field); + } + } + +} |