summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/searchdefinition/FieldOperationApplierForSearch.java
blob: 301d78bbaec7710a7b7e43dd24c74a0dff79d75d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchdefinition;

import com.yahoo.document.Field;
import com.yahoo.searchdefinition.document.SDDocumentType;

/**
 * @author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
 */
public class FieldOperationApplierForSearch extends FieldOperationApplier {
    @Override
    public void process(SDDocumentType sdoc) {
        //Do nothing
    }

    public void process(Search search) {
        for (Field field : search.extraFieldList()) {
            apply(field);
        }
    }
}