Package org.apache.solr.common.cloud
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
-
Interface Summary Interface Description CollectionStatePredicate Interface to determine if a set of liveNodes and a collection's state matches some expecatations.DocCollection.CollectionStateProps JSON properties related to a collection's state.DocCollection.PrsSupplier NodesSysProps Fetch a node's system properties.Replica.ReplicaStateProps JSON properties related to a replica's state.Slice.SliceStateProps JSON properties related to a slice's state.SolrClassLoader A generic interface to load plugin classes -
Class Summary Class Description Aliases Holds collection aliases -- virtual collections that point to one or more other collections.ClusterState Immutable state of the cloud.ClusterState.CollectionRef CompositeIdRouter CompositeIdRouter partitions ids based on aCompositeIdRouter.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 for an id.DocCollection Models a Collection in zookeeper (but that Java name is obviously taken, hence "DocCollection")DocRouter Class to partition int range into n ranges.DocRouter.Range HashBasedRouter ImplicitDocRouter This document router is for custom shardingPerReplicaStates This represents the individual replica states in a collection This is an immutable object.PerReplicaStates.Operation PerReplicaStates.State The state of a replica as stored as a node under /collections/collection-name/state.json/replica-statePlainIdRouter Replica ReplicaPosition RoutingRule Used for routing docs with particular keys into another collectionSlice A Slice contains immutable information about a logical shard (all replicas that share the same shard id).ZkCoreNodeProps ZkNodeProps ZkNodeProps contains generic immutable properties. -
Enum Summary Enum Description PerReplicaStates.Operation.Type Replica.State The replica's state.Replica.Type Slice.State The slice's state.