public interface SolrServerProvider extends Closeable
SolrClients instances| Modifier and Type | Method and Description |
|---|---|
org.apache.solr.client.solrj.SolrClient |
getIndexingSolrServer()
provides an already initialized
SolrClient specifically configured to be
used for indexing. |
org.apache.solr.client.solrj.SolrClient |
getSearchingSolrServer()
provides an already initialized
SolrClient specifically configured to be
used for searching. |
org.apache.solr.client.solrj.SolrClient |
getSolrServer()
provides an already initialized
SolrClient to be used for either searching or
indexing, or both. |
@CheckForNull org.apache.solr.client.solrj.SolrClient getSolrServer() throws Exception
SolrClient to be used for either searching or
indexing, or both.SolrClient instanceException - if anything goes wrong while initializing the SolrClient@CheckForNull org.apache.solr.client.solrj.SolrClient getIndexingSolrServer() throws Exception
SolrClient specifically configured to be
used for indexing.SolrClient instanceException - if anything goes wrong while initializing the SolrClient@CheckForNull org.apache.solr.client.solrj.SolrClient getSearchingSolrServer() throws Exception
SolrClient specifically configured to be
used for searching.SolrClient instanceException - if anything goes wrong while initializing the SolrClientCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.