private Set<ComponentSpecification> disableStemmingIfStreaming(Set<ComponentSpecification> searcherReferences) {
        if (searchCluster.hasIndexed()) {
            return searcherReferences;
        } else {
            Set<ComponentSpecification> filteredSearcherReferences = new LinkedHashSet<>(searcherReferences);
            filteredSearcherReferences
                    .remove(toGlobalComponentId(new ComponentId("com.yahoo.prelude.querytransform.StemmingSearcher"))
                            .toSpecification());
            return filteredSearcherReferences;
        }
    }
Config producer for search chain responsible for sending queries to a local cluster.

@author Tony Vaagenes
config-model/src/main/java/com/yahoo/vespa/model/container/search/searchchain/LocalProvider.java