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 updates 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)
Deprecated.
since this is an expert feature we don't want to expose this to regular users. To use this feature
extend CloudSolrClient.Builder and pass your custom ClusterStateProvider
|
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.withParallelUpdates(boolean parallelUpdates)
Tells
CloudSolrClient.Builder whether created clients should send shard updates serially or in parallel
When an UpdateRequest affects multiple shards, CloudSolrClient splits it up and sends a request
to each affected shard. |
CloudSolrClient.Builder |
CloudSolrClient.Builder.withSolrUrl(Collection<String> solrUrls)
Deprecated.
use Solr URL constructors instead
|
CloudSolrClient.Builder |
CloudSolrClient.Builder.withSolrUrl(String solrUrl)
Deprecated.
use Solr-URL constructor instead
|
CloudSolrClient.Builder |
CloudSolrClient.Builder.withZkChroot(String zkChroot)
Deprecated.
use Zk-host constructor instead
|
CloudSolrClient.Builder |
CloudSolrClient.Builder.withZkHost(Collection<String> zkHosts)
Deprecated.
use Zk-host constructor instead
|
CloudSolrClient.Builder |
CloudSolrClient.Builder.withZkHost(String zkHost)
Deprecated.
use Zk-host constructor instead
|
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-2019 Apache Software Foundation. All Rights Reserved.