[ https://issues.apache.org/jira/browse/SOLR-10665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161092#comment-16161092 ]
Jan Høydahl commented on SOLR-10665: ------------------------------------ One challenge with installing and especially upgrading plugins is that the rest of the system may assume a static classpath and never re-scan for new SPI classes, and a core using version X of a plugin class may not be aware that version Y is now on the classpath after a plugin upgrade. Even worse, both versions X and Y may exist. So my current thinking is that we either A. Find a way to reload the whole CoreContainer, all cores with config, all security plugins etc gets refreshed and reloaded after a plugin event B. Only allow install and uninstall while running. Upgrade only supported in offline mode What do you think? > POC for a PF4J based plugin system > ---------------------------------- > > Key: SOLR-10665 > URL: https://issues.apache.org/jira/browse/SOLR-10665 > Project: Solr > Issue Type: New Feature > Components: Plugin system > Reporter: Jan Høydahl > Assignee: Jan Høydahl > Labels: pf4j, plugins > Fix For: master (8.0) > > Attachments: SOLR-10665.patch > > > In SOLR-5103 we have been discussing improvements to Solr plugin system, with > ability to bundle a plugin as zip, and easily install from shell or Admin UI. > This task aims to create a working POC to demonstrate how PF4J (Plugin > Framework4J) can be used to bring a very simple plugin packaging and > installation system to Solr with a minimum of effort. Code speaks louder than > words :) > The POC effort is a quite large patch and will be cutting some corners to get > the feature in the hands of people who can test and evaluate. If there is > consensus to add this to Solr, there will be other sub tasks to split up the > elephant into committable chunks. > The design document is located here: https://s.apache.org/solr-plugin (Google > Doc) - comments are welcome in the document or here. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org