janhoy commented on code in PR #1089:
URL: https://github.com/apache/solr/pull/1089#discussion_r1001622215


##########
solr/core/src/java/org/apache/solr/cloud/api/collections/Assign.java:
##########
@@ -562,8 +566,36 @@ public static AssignStrategy 
createAssignStrategy(CoreContainer coreContainer) {
         coreContainer.getPlacementPluginFactory().createPluginInstance();
     if (placementPlugin == null) {
       // Otherwise use the default
-      // TODO: Replace this with a better options, such as the 
AffinityPlacementFactory
-      placementPlugin = (new SimplePlacementFactory()).createPluginInstance();
+      String defaultPluginId = 
System.getProperty(DEFAULT_PLACEMENT_PLUGIN_SYSPROP);

Review Comment:
   If we have SolrResourceLoader available that should not be too hard, unless 
you also need to support loading plugins from solr packages, which 
(unfortunately) uses a custom loader system with need for package prefixes.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to