public interface SolrClientFactory
SolrClient instances.| Modifier and Type | Method and Description |
|---|---|
Future<org.apache.solr.client.solrj.SolrClient> |
newClient(String core)
Requests the creation of a new
SolrClient for a specific Solr core name. |
Future<org.apache.solr.client.solrj.SolrClient> newClient(String core)
SolrClient for a specific Solr core name. Future.get() will return null if a SolrClient could not be
created either immediately or after a retry period determined by the implementing class.
Clients of this class should consider implementing retry logic if needed based on that return
value.core - name of the Solr core to createFuture used to retrieve the new SolrClient createdThis work is licensed under a Creative Commons Attribution 4.0 International License.