@Configuration @ConditionalOnClass(value={org.apache.solr.client.solrj.impl.HttpSolrClient.class,org.apache.solr.client.solrj.impl.CloudSolrClient.class}) @EnableConfigurationProperties(value=SolrProperties.class) public class SolrAutoConfiguration extends Object
Auto-configuration
for Solr 4.x.Constructor and Description |
---|
SolrAutoConfiguration(SolrProperties properties) |
Modifier and Type | Method and Description |
---|---|
org.apache.solr.client.solrj.SolrClient |
solrClient() |
public SolrAutoConfiguration(SolrProperties properties)
@Bean @ConditionalOnMissingBean public org.apache.solr.client.solrj.SolrClient solrClient()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.