Uses of Class
org.apache.solr.client.solrj.impl.CloudSolrClient.Builder
-
Packages that use CloudSolrClient.Builder Package Description org.apache.solr.client.solrj.impl Concrete implementations of client API classes. -
-
Uses of CloudSolrClient.Builder in org.apache.solr.client.solrj.impl
Methods in org.apache.solr.client.solrj.impl that return CloudSolrClient.Builder Modifier and Type Method Description CloudSolrClient.BuilderCloudSolrClient.Builder. getThis()CloudSolrClient.BuilderCloudSolrClient.Builder. sendDirectUpdatesToAnyShardReplica()TellsCloudSolrClient.Builderthat created clients can send updates to any shard replica (shard leaders and non-leaders).CloudSolrClient.BuilderCloudSolrClient.Builder. sendDirectUpdatesToShardLeadersOnly()TellsCloudSolrClient.Builderthat created clients should send direct updates to shard leaders only.CloudSolrClient.BuilderCloudSolrClient.Builder. sendUpdatesOnlyToShardLeaders()TellsCloudSolrClient.Builderthat created clients should send updates only to shard leaders.CloudSolrClient.BuilderCloudSolrClient.Builder. sendUpdatesToAllReplicasInShard()TellsCloudSolrClient.Builderthat created clients should send updates to all replicas for a shard.CloudSolrClient.BuilderCloudSolrClient.Builder. withClusterStateProvider(ClusterStateProvider stateProvider)Deprecated.since this is an expert feature we don't want to expose this to regular users.CloudSolrClient.BuilderCloudSolrClient.Builder. withLBHttpSolrClient(LBHttpSolrClient loadBalancedSolrClient)Provides aLBHttpSolrClientfor the builder to use when creating clients.CloudSolrClient.BuilderCloudSolrClient.Builder. withLBHttpSolrClientBuilder(LBHttpSolrClient.Builder lbHttpSolrClientBuilder)Provides aHttpClientfor the builder to use when creating clients.CloudSolrClient.BuilderCloudSolrClient.Builder. withParallelUpdates(boolean parallelUpdates)TellsCloudSolrClient.Builderwhether created clients should send shard updates serially or in parallel When anUpdateRequestaffects multiple shards,CloudSolrClientsplits it up and sends a request to each affected shard.CloudSolrClient.BuilderCloudSolrClient.Builder. withSolrUrl(String solrUrl)Deprecated.use Solr-URL constructor insteadCloudSolrClient.BuilderCloudSolrClient.Builder. withSolrUrl(Collection<String> solrUrls)Deprecated.use Solr URL constructors insteadCloudSolrClient.BuilderCloudSolrClient.Builder. withZkChroot(String zkChroot)Deprecated.use Zk-host constructor insteadCloudSolrClient.BuilderCloudSolrClient.Builder. withZkHost(String zkHost)Deprecated.use Zk-host constructor insteadCloudSolrClient.BuilderCloudSolrClient.Builder. withZkHost(Collection<String> zkHosts)Deprecated.use Zk-host constructor insteadConstructors in org.apache.solr.client.solrj.impl with parameters of type CloudSolrClient.Builder Constructor Description CloudSolrClient(CloudSolrClient.Builder builder)Create a new client object that connects to Zookeeper and is always aware of the SolrCloud state.
-