public class RemoteSolrServerProvider extends Object implements SolrServerProvider
SolrServerProvider for remote Solr installations.| Constructor and Description |
|---|
RemoteSolrServerProvider(RemoteSolrServerConfiguration remoteSolrServerConfiguration) |
| 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. |
public RemoteSolrServerProvider(RemoteSolrServerConfiguration remoteSolrServerConfiguration)
public org.apache.solr.client.solrj.SolrServer getSolrServer()
throws Exception
SolrServerProviderSolrServer to be used for either searching or
indexing, or both.getSolrServer in interface SolrServerProviderSolrServer instanceException - if anything goes wrong while initializing the SolrServer@CheckForNull public org.apache.solr.client.solrj.SolrServer getIndexingSolrServer() throws Exception
SolrServerProviderSolrServer specifically configured to be
used for indexing.getIndexingSolrServer in interface SolrServerProviderSolrServer instanceException - if anything goes wrong while initializing the SolrServer@CheckForNull public org.apache.solr.client.solrj.SolrServer getSearchingSolrServer() throws Exception
SolrServerProviderSolrServer specifically configured to be
used for searching.getSearchingSolrServer in interface SolrServerProviderSolrServer instanceException - if anything goes wrong while initializing the SolrServerCopyright © 2012-2018 The Apache Software Foundation. All Rights Reserved.