@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() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.apache.solr.client.solrj.SolrClient |
solrClient() |
@PreDestroy public void close() throws IOException
IOException
@Bean @ConditionalOnMissingBean public org.apache.solr.client.solrj.SolrClient solrClient()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.