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