@Configuration(proxyBeanMethods=false) @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.Constructor and Description |
---|
SolrAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.apache.solr.client.solrj.SolrClient |
solrClient(SolrProperties properties) |
@Bean @ConditionalOnMissingBean public org.apache.solr.client.solrj.SolrClient solrClient(SolrProperties properties)