Interface PlacementPlugin

All Known Implementing Classes:
AffinityPlacementFactory.AffinityPlacementPlugin, OrderedNodePlacementPlugin, RandomPlacementFactory.RandomPlacementPlugin, SimplePlacementFactory.SimplePlacementPlugin

public interface PlacementPlugin
Implemented by external plugins to control replica placement and movement on the search cluster (as well as other things such as cluster elasticity?) when cluster changes are required (initiated elsewhere, most likely following a Collection API call).

Instances of classes implementing this interface are created by PlacementPluginFactory

Implementations of this interface must be reentrant. computePlacement(org.apache.solr.cluster.placement.PlacementRequest, org.apache.solr.cluster.placement.PlacementContext) will be called concurrently from many threads.