Interface SolrClientFactory
- All Known Implementing Classes:
EmbeddedSolrServerFactory,EmbeddedSolrServerFactoryBean,HttpSolrClientFactory,HttpSolrClientFactoryBean
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
SolrClientFactory replaces SolrServerFactory from version 1.x and provides access to the solrj
SolrClient.- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.solr.client.solrj.SolrClientGet baseSolrClientinstance
-
Method Details
-
getSolrClient
org.apache.solr.client.solrj.SolrClient getSolrClient()Get baseSolrClientinstance- Returns:
- a reusable SolrClient instance
-