aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/vespa/model/container/search/searchchain/GenericProvider.java
blob: a82d2da2a6b8764d885e7f1aa805664d87eee2ac (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
24
25
26
27
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.container.search.searchchain;

import com.yahoo.component.chain.model.ChainSpecification;
import com.yahoo.search.federation.ProviderConfig;
import com.yahoo.search.searchchain.model.federation.FederationOptions;

/**
 * A generic provider, used when no type is given.
 *
 * @author Tony Vaagenes
 */
public class GenericProvider extends Provider implements ProviderConfig.Producer {

    /*
     * Config producer for the contained http searcher..
     */
    @SuppressWarnings("deprecation")
    public GenericProvider(ChainSpecification specWithoutInnerSearchers, FederationOptions federationOptions) {
        super(specWithoutInnerSearchers, federationOptions);
    }

    @Override
    public void getConfig(ProviderConfig.Builder builder) {
    }

}