pvcnt commented on PR #2126:
URL: https://github.com/apache/solr/pull/2126#issuecomment-1876907601

   I believe it would still be interesting to have at least two different 
plugin types to validate that the generic approach is really generic, and what 
it takes to add a new type of plugin.
   
   Another remark, it seems that there is no validation that a 
`<clusterSingleton/>` tag does indeed defines a cluster singleton. I believe 
the following would work and define a replica placement plugin:
   
   ```xml
   <clusterSingleton name=".placement-plugin" 
class="org.apache.solr.cluster.placement.plugins.AffinityPlacementFactory"/>
   ```
   
   This is why in SOLR-17079 we decided to go with an ad-hoc solution (i.e., 
one for every possible cluster plugin) instead of the generic solution. 
Otherwise, we are back to my initial proposal which is to have an untype 
`<plugin/>` tag in `solr.xml`, which is essentially what this PR does.


-- 
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: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to