Package org.springframework.data.solr.server.support

Examples of org.springframework.data.solr.server.support.EmbeddedSolrServerFactory


class SolrTemplateProducer {

  @Produces
  public SolrOperations createSolrTemplate() throws IOException, ParserConfigurationException, SAXException {

    EmbeddedSolrServerFactory factory = new EmbeddedSolrServerFactory(ResourceUtils.getURL(
        "classpath:org/springframework/data/solr").getPath());

    SolrTemplate template = new SolrTemplate(factory);
    template.afterPropertiesSet();
    return template;
View Full Code Here

TOP

Related Classes of org.springframework.data.solr.server.support.EmbeddedSolrServerFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.