public SearchChains getSearchChains() {
        if (containerSearch == null)
            throw new IllegalArgumentException("Search components not found in container cluster '" + getSubId() +
                                               "': Add <search/> to the cluster in services.xml");
        return containerSearch.getChains();
    }
Removes a component by id

@return the removed component, or null if it was not present
config-model/src/main/java/com/yahoo/vespa/model/container/ContainerCluster.java