Package org.apache.solr.cluster
This package contains the interfaces giving access to cluster state, including nodes, collections
and the structure of the collections (shards and replicas). These interfaces allow separating
external code contribution from the internal Solr implementations of these concepts to make usage
simpler and to not require changes to external contributed code every time the internal
abstractions are modified.
The top level abstraction is Cluster
. The cluster is composed
of Node
s. Indexes are stored in SolrCollection
s, composed of Shard
s
whose actual copies on Node
s are called Replica
s.
-
Interface Summary Interface Description Cluster A representation of the SolrCloud cluster state, providing information on which nodes and collections are part of the cluster and a way to get to more detailed info.Node Representation of a SolrCloud node or server in the SolrCloud cluster.Replica An instantiation (or one of the copies) of a givenShard
of a givenSolrCollection
.Shard Shard in aSolrCollection
, i.e.SolrCollection Represents a Collection in SolrCloud (unrelated toCollection
that uses the nicer name). -
Enum Summary Enum Description Replica.ReplicaState Replica.ReplicaType The order of this enum is important from the most to least "important" replica type.Shard.ShardState