Class SimplePlacementFactory

java.lang.Object
org.apache.solr.cluster.placement.plugins.SimplePlacementFactory
All Implemented Interfaces:
ConfigurablePlugin<PlacementPluginFactory.NoConfig>, PlacementPluginFactory<PlacementPluginFactory.NoConfig>

public class SimplePlacementFactory extends Object implements PlacementPluginFactory<PlacementPluginFactory.NoConfig>
Factory for creating SimplePlacementFactory.SimplePlacementPlugin, a placement plugin implementing the logic from the old LegacyAssignStrategy. This chooses nodes with the fewest cores (especially cores of the same collection).

See SimplePlacementFactory.SameCollWeightedNode for information on how this PlacementFactory weights nodes.

See AffinityPlacementFactory for a more realistic example and documentation.

  • Constructor Details

    • SimplePlacementFactory

      public SimplePlacementFactory()
  • Method Details