protected static class SolrStandaloneSearchProvider.ClusterSolrClient
extends SolrClient
| Modifier and Type | Class and Description |
|---|---|
static class |
SolrStandaloneSearchProvider.ClusterSolrClient.Builder |
protected static class |
SolrStandaloneSearchProvider.ClusterSolrClient.ClusterNodeSolrClient |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
REQUEST_NODE_SEPARATOR |
| Modifier | Constructor and Description |
|---|---|
protected |
ClusterSolrClient(SolrStandaloneSearchProvider.ClusterSolrClient.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected HttpSolrClient |
createSolrClient(java.lang.String baseSolrUrl) |
protected java.util.Map<java.lang.String,HttpSolrClient> |
createSolrClients(java.util.List<java.lang.String> baseSolrUrls) |
HttpClient |
getHttpClient() |
SolrClient |
getNodeClient(SolrClient solrClient,
java.lang.String node) |
java.util.Collection<java.lang.String> |
getNodes() |
<any> |
request(SolrRequest request,
java.lang.String collection) |
public static final java.lang.String REQUEST_NODE_SEPARATOR
protected ClusterSolrClient(SolrStandaloneSearchProvider.ClusterSolrClient.Builder builder)
protected final java.util.Map<java.lang.String,HttpSolrClient> createSolrClients(java.util.List<java.lang.String> baseSolrUrls)
protected final HttpSolrClient createSolrClient(java.lang.String baseSolrUrl)
public HttpClient getHttpClient()
public java.util.Collection<java.lang.String> getNodes()
public SolrClient getNodeClient(SolrClient solrClient,
java.lang.String node)
public <any> request(SolrRequest request,
java.lang.String collection)
throws SolrServerException,
java.io.IOException
SolrServerExceptionjava.io.IOExceptionpublic void close()
Copyright © 2018 SAP SE. All Rights Reserved.