public class BroadleafCloudSolrClient
extends org.apache.solr.client.solrj.impl.CloudSolrClient
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
reindexClient |
protected SolrConfiguration |
solrConfig |
| Constructor and Description |
|---|
BroadleafCloudSolrClient(Collection<String> zkHosts,
String chroot) |
BroadleafCloudSolrClient(Collection<String> zkHosts,
String chroot,
org.apache.http.client.HttpClient httpClient) |
BroadleafCloudSolrClient(String zkHost) |
BroadleafCloudSolrClient(String zkHost,
boolean updatesToLeaders) |
BroadleafCloudSolrClient(String zkHost,
boolean updatesToLeaders,
org.apache.http.client.HttpClient httpClient) |
BroadleafCloudSolrClient(String zkHost,
org.apache.http.client.HttpClient httpClient) |
BroadleafCloudSolrClient(String zkHost,
org.apache.solr.client.solrj.impl.LBHttpSolrClient lbClient) |
BroadleafCloudSolrClient(String zkHost,
org.apache.solr.client.solrj.impl.LBHttpSolrClient lbClient,
boolean updatesToLeaders) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultCollection() |
SolrConfiguration |
getSolrConfig() |
boolean |
isReindexClient() |
void |
setReindexClient(boolean reindexClient) |
void |
setSolrConfig(SolrConfiguration solrConfig) |
close, condenseResponse, connect, connect, downloadConfig, getDocCollection, getIdField, getLbClient, getMinAchievedReplicationFactor, getParser, getRequestWriter, getShardReplicationFactor, getZkHost, getZkStateReader, isUpdatesToLeaders, request, requestWithRetryOnStaleState, sendRequest, setCollectionCacheTTl, setDefaultCollection, setIdField, setParallelCacheRefreshes, setParallelUpdates, setParser, setRequestWriter, setZkClientTimeout, setZkConnectTimeout, shutdown, uploadConfigadd, add, add, add, add, add, add, add, add, add, addBean, addBean, addBean, addBean, addBeans, addBeans, addBeans, addBeans, addBeans, addBeans, commit, commit, commit, commit, commit, commit, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteByQuery, deleteByQuery, deleteByQuery, deleteByQuery, getBinder, getById, getById, getById, getById, getById, getById, getById, getById, optimize, optimize, optimize, optimize, optimize, optimize, ping, query, query, query, query, queryAndStreamResponse, queryAndStreamResponse, request, rollback, rollbackprotected SolrConfiguration solrConfig
protected boolean reindexClient
public BroadleafCloudSolrClient(String zkHost)
public BroadleafCloudSolrClient(String zkHost, org.apache.http.client.HttpClient httpClient)
public BroadleafCloudSolrClient(Collection<String> zkHosts, String chroot)
public BroadleafCloudSolrClient(Collection<String> zkHosts, String chroot, org.apache.http.client.HttpClient httpClient)
public BroadleafCloudSolrClient(String zkHost, boolean updatesToLeaders)
public BroadleafCloudSolrClient(String zkHost, boolean updatesToLeaders, org.apache.http.client.HttpClient httpClient)
public BroadleafCloudSolrClient(String zkHost, org.apache.solr.client.solrj.impl.LBHttpSolrClient lbClient)
public BroadleafCloudSolrClient(String zkHost, org.apache.solr.client.solrj.impl.LBHttpSolrClient lbClient, boolean updatesToLeaders)
public String getDefaultCollection()
getDefaultCollection in class org.apache.solr.client.solrj.impl.CloudSolrClientpublic boolean isReindexClient()
public void setReindexClient(boolean reindexClient)
public SolrConfiguration getSolrConfig()
public void setSolrConfig(SolrConfiguration solrConfig)
Copyright © 2018. All rights reserved.