List of usage examples for org.springframework.data.solr.server.support EmbeddedSolrServerFactory EmbeddedSolrServerFactory
public EmbeddedSolrServerFactory(String solrHome) throws ParserConfigurationException, IOException, SAXException
From source file:org.springframework.data.rest.webmvc.solr.SolrInfrastructureConfig.java
@Bean public SolrClientFactory solrClientFactory(final String solrHomeDir) throws ParserConfigurationException, IOException, SAXException { prepareConfiguration(solrHomeDir);/* ww w . ja v a 2s .c o m*/ return new EmbeddedSolrServerFactory(solrHomeDir); }