mirror of https://github.com/apache/lucene.git
Ref Guide: fix ZK string in kerberos solrj example
This commit is contained in:
parent
7d9059ef13
commit
0adaeee438
|
@ -372,7 +372,7 @@ To create a `CloudSolrClient` that uses delegation tokens:
|
|||
[source,java]
|
||||
----
|
||||
CloudSolrClient client = new CloudSolrClient.Builder()
|
||||
.withZkHost("http://localhost:2181")
|
||||
.withZkHost("localhost:2181")
|
||||
.withLBHttpSolrClientBuilder(new LBHttpSolrClient.Builder()
|
||||
.withResponseParser(client.getParser())
|
||||
.withHttpSolrClientBuilder(
|
||||
|
|
Loading…
Reference in New Issue