@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)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.