Package org.apache.solr.cluster
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 Nodes. Indexes are stored in SolrCollections, composed of Shards
whose actual copies on Nodes are called Replicas.
-
ClassDescriptionA 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.Representation of a SolrCloud node or server in the SolrCloud cluster.An instantiation (or one of the copies) of a given
Shardof a givenSolrCollection.The order of this enum is important from the most to least "important" replica type.Shard in aSolrCollection, i.e.Represents a Collection in SolrCloud (unrelated toCollectionthat uses the nicer name).