Package | Description |
---|---|
org.apache.solr.client.solrj.impl |
Concrete implementations of client API classes.
|
org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
Modifier and Type | Method and Description |
---|---|
protected DocCollection |
CloudSolrClient.getDocCollection(ClusterState clusterState,
String collection,
Integer expectedVersion) |
Modifier and Type | Field and Description |
---|---|
protected ClusterState |
ZkStateReader.clusterState
A view of the current state of all collections; combines all the different state sources into a single view.
|
Modifier and Type | Method and Description |
---|---|
ClusterState |
ClusterState.copyWith(String collectionName,
DocCollection collection)
Returns a new cluster state object modified with the given collection.
|
ClusterState |
ZkStateReader.getClusterState() |
static ClusterState |
ClusterState.load(Integer version,
byte[] bytes,
Set<String> liveNodes) |
static ClusterState |
ClusterState.load(Integer version,
byte[] bytes,
Set<String> liveNodes,
String znode)
Create ClusterState from json string that is typically stored in zookeeper.
|
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.