.param("path-prefix", uri)
.through(new SolrDispatchFilter() {
@Override
protected Initializer createInitializer() {
logger.info("Solr is listening at: {}", pattern);
return new Initializer() {
@Override
public CoreContainer initialize() throws IOException,
ParserConfigurationException, SAXException {
// Don't initialize cores twice just use the Spring one.
return solrCores;