Class SolrAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.solr.SolrAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass({org.apache.solr.client.solrj.impl.HttpSolrClient.class,org.apache.solr.client.solrj.impl.CloudSolrClient.class})
@EnableConfigurationProperties(SolrProperties.class)
public class SolrAutoConfiguration
extends Object
Auto-configuration
for Solr.- Since:
- 1.1.0
- Author:
- Christoph Strobl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.solr.client.solrj.SolrClient
solrClient
(SolrProperties properties)
-
Constructor Details
-
SolrAutoConfiguration
public SolrAutoConfiguration()
-
-
Method Details
-
solrClient
@Bean @ConditionalOnMissingBean public org.apache.solr.client.solrj.SolrClient solrClient(SolrProperties properties)
-