@SafeVarargs
    private static Collection<ChainedComponentModel> toSearcherModels(Class<? extends Searcher>... searchers) {
        List<ChainedComponentModel> searcherModels = new ArrayList<>();

        for (Class<? extends Searcher> c : searchers) {
            searcherModels.add(
                    new ChainedComponentModel(
                            BundleInstantiationSpecification.fromSearchAndDocproc(c.getName()),
                            Dependencies.emptyDependencies()));
        }

        return List.copyOf(searcherModels);
    }
Specifies how a local provider is to be set up.

@author Tony Vaagenes
container-search/src/main/java/com/yahoo/search/searchchain/model/federation/LocalProviderSpec.java