How to configure Spring Data Solr with Repositories for multiple cores
Is there a detailed and complete explanation for setting up spring data with solr using repositories with multicore support? The only dependency that need to be used for spring-data-solr is <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-solr</artifactId> <version>1.5.2.RELEASE</version> </dependency> It downloads solrj dependency and this must not be overridden with later versions of solrj . Also It is always preferable to use HttpSolrServer over EmbeddedSolrServer which is what we will be working with. The Configuration class should look like this: