Package org.apache.solr.cluster.placement.plugins
Sample plugin implementations. The realistic implementation to use is
AffinityPlacementFactory
.-
Class Summary Class Description AffinityPlacementConfig Configuration bean forAffinityPlacementFactory
.AffinityPlacementFactory This factory is instantiated by config from its class name.MinimizeCoresPlacementFactory Factory for creatingMinimizeCoresPlacementFactory.MinimizeCoresPlacementPlugin
, a Placement plugin implementing placing replicas to minimize number of cores perNode
, while not placing two replicas of the same shard on the same node.OrderedNodePlacementPlugin OrderedNodePlacementPlugin.WeightedNode A class that determines the weight of a given node and the replicas that reside on it.RandomPlacementFactory Factory for creatingRandomPlacementFactory.RandomPlacementPlugin
, a placement plugin implementing random placement for new collection creation while preventing two replicas of same shard from being placed on same node..RandomPlacementFactory.RandomPlacementPlugin SimplePlacementFactory Factory for creatingSimplePlacementFactory.SimplePlacementPlugin
, a placement plugin implementing the logic from the oldLegacyAssignStrategy
.SimplePlacementFactory.SimplePlacementPlugin