# Package org.apache.solr.common.cloud

package org.apache.solr.common.cloud
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.

Related Packages
Package
Description
org.apache.solr.common
Common classes reused on both clients & server for dealing with `documents to be indexed` and `result documents`.
org.apache.solr.common.annotation
Annotations mapping to Jackson
org.apache.solr.common.luke
Common constants used by the `LukeRequestHandler`.
org.apache.solr.common.params
Parameter constants and enumerations.
org.apache.solr.common.util
Common utility classes reused on both clients & server.
Class
Description
Aliases
Holds collection aliases -- virtual collections that point to one or more other collections.
ClusterState
Immutable state of the cloud.
ClusterState.CollectionRef
CollectionStatePredicate
Interface to determine if a set of liveNodes and a collection's state matches some expectations.
CompositeIdRouter
CompositeIdRouter partitions ids based on a `CompositeIdRouter.SEPARATOR`, hashes each partition and merges the hashes together to map the id to a slice.
CompositeIdRouter.KeyParser
Helper class to calculate parts, masks etc.
DocCollection
Models a Collection in zookeeper (but that Java name is obviously taken, hence "DocCollection")
DocCollection.CollectionStateProps
JSON properties related to a collection's state.
DocCollection.PrsSupplier
DocRouter
Class to partition int range into n ranges.
DocRouter.Range
HashBasedRouter
ImplicitDocRouter
This document router is for custom sharding
NodesSysProps
Fetch a node's system properties.
PerReplicaStates
This represents the individual replica states in a collection This is an immutable object.
PerReplicaStates.Operation
PerReplicaStates.Operation.Type
PerReplicaStates.State
The state of a replica as stored as a node under /collections/collection-name/state.json/replica-state
PlainIdRouter
Replica
Replica.ReplicaStateProps
JSON properties related to a replica's state.
Replica.State
The replica's state.
Replica.Type
ReplicaCount
Tracks the number of replicas per replica type.
ReplicaPosition
RoutingRule
Used for routing docs with particular keys into another collection
Slice
A Slice contains immutable information about a logical shard (all replicas that share the same shard id).
Slice.SliceStateProps
JSON properties related to a slice's state.
Slice.State
The slice's state.
SolrClassLoader
A generic interface to load plugin classes
ZkCoreNodeProps
ZkNodeProps
ZkNodeProps contains generic immutable properties.