summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/schema/FieldOperationApplierForSearch.java
blob: b107dbaea59e21d1513ccd87afea5accffda70a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
        }
    }

}