Package | Description |
---|---|
org.apache.solr.client.solrj.impl |
Concrete implementations of client API classes.
|
Modifier and Type | Method and Description |
---|---|
CloudSolrClient.Builder |
CloudSolrClient.Builder.getThis() |
CloudSolrClient.Builder |
CloudSolrClient.Builder.sendDirectUpdatesToAnyShardReplica()
Tells
CloudSolrClient.Builder that created clients can send updates
to any shard replica (shard leaders and non-leaders). |
CloudSolrClient.Builder |
CloudSolrClient.Builder.sendDirectUpdatesToShardLeadersOnly()
Tells
CloudSolrClient.Builder that created clients should send direct updates to shard leaders only. |
CloudSolrClient.Builder |
CloudSolrClient.Builder.sendUpdatesOnlyToShardLeaders()
Tells
CloudSolrClient.Builder that created clients should send updats only to shard leaders. |
CloudSolrClient.Builder |
CloudSolrClient.Builder.sendUpdatesToAllReplicasInShard()
Tells
CloudSolrClient.Builder that created clients should send updates to all replicas for a shard. |
CloudSolrClient.Builder |
CloudSolrClient.Builder.withClusterStateProvider(ClusterStateProvider stateProvider) |
CloudSolrClient.Builder |
CloudSolrClient.Builder.withLBHttpSolrClient(LBHttpSolrClient loadBalancedSolrClient)
Provides a
LBHttpSolrClient for the builder to use when creating clients. |
CloudSolrClient.Builder |
CloudSolrClient.Builder.withLBHttpSolrClientBuilder(LBHttpSolrClient.Builder lbHttpSolrClientBuilder)
Provides a
HttpClient for the builder to use when creating clients. |
CloudSolrClient.Builder |
CloudSolrClient.Builder.withSolrUrl(Collection<String> solrUrls)
Provide a list of Solr URL to be used when configuring
CloudSolrClient instances. |
CloudSolrClient.Builder |
CloudSolrClient.Builder.withSolrUrl(String solrUrl)
Provide a Solr URL to be used when configuring
CloudSolrClient instances. |
CloudSolrClient.Builder |
CloudSolrClient.Builder.withZkChroot(String zkChroot)
Provides a ZooKeeper chroot for the builder to use when creating clients.
|
CloudSolrClient.Builder |
CloudSolrClient.Builder.withZkHost(Collection<String> zkHosts)
Provide a series of ZooKeeper client endpoints for the builder to use when creating clients.
|
CloudSolrClient.Builder |
CloudSolrClient.Builder.withZkHost(String zkHost)
Provide a ZooKeeper client endpoint to be used when configuring
CloudSolrClient instances. |
Constructor and Description |
---|
CloudSolrClient(CloudSolrClient.Builder builder)
Create a new client object that connects to Zookeeper and is always aware
of the SolrCloud state.
|
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.