@Configuration @ConditionalOnClass(value={, }) @ConditionalOnMissingBean(value= ) @Import(value=org.springframework.boot.autoconfigure.data.solr.SolrRepositoriesAutoConfigureRegistrar.class) public class SolrRepositoriesAutoConfiguration extends Object
Activates when there is no bean of type
org.springframework.data.solr.repository.support.SolrRepositoryFactoryBean
found in context, and both
org.springframework.data.solr.repository.SolrRepository
and
org.apache.solr.client.solrj.SolrServer
can be found on classpath.
org.springframework.data.solr.repository.config.EnableSolrRepositories
would
do.Copyright © 2015 Pivotal Software, Inc.. All rights reserved.