public static class SolrTestCaseJ4.CloudSolrClientBuilder
extends org.apache.solr.client.solrj.impl.CloudSolrClient.Builder
CloudSolrClient.Builder
that will randomize which nodes recieve updates
unless otherwise specified by the caller.Constructor and Description |
---|
CloudSolrClientBuilder() |
Modifier and Type | Method and Description |
---|---|
org.apache.solr.client.solrj.impl.CloudSolrClient |
build() |
org.apache.solr.client.solrj.impl.CloudSolrClient.Builder |
sendDirectUpdatesToAnyShardReplica() |
org.apache.solr.client.solrj.impl.CloudSolrClient.Builder |
sendDirectUpdatesToShardLeadersOnly() |
getThis, sendUpdatesOnlyToShardLeaders, sendUpdatesToAllReplicasInShard, withClusterStateProvider, withLBHttpSolrClient, withLBHttpSolrClientBuilder, withSolrUrl, withSolrUrl, withZkChroot, withZkHost, withZkHost
public org.apache.solr.client.solrj.impl.CloudSolrClient.Builder sendDirectUpdatesToShardLeadersOnly()
sendDirectUpdatesToShardLeadersOnly
in class org.apache.solr.client.solrj.impl.CloudSolrClient.Builder
public org.apache.solr.client.solrj.impl.CloudSolrClient.Builder sendDirectUpdatesToAnyShardReplica()
sendDirectUpdatesToAnyShardReplica
in class org.apache.solr.client.solrj.impl.CloudSolrClient.Builder
public org.apache.solr.client.solrj.impl.CloudSolrClient build()
build
in class org.apache.solr.client.solrj.impl.CloudSolrClient.Builder
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.