[
https://issues.apache.org/jira/browse/SOLR-10665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Høydahl updated SOLR-10665:
-------------------------------
Attachment: SOLR-10665.patch
Attaching a patch of current POC state. Don't mind the patch size, this is not
meant for commit but for producing a runnable proof of concept.
I have also produced a "release" tarball for easier consumption, see design
[doc appendix
A|https://docs.google.com/document/d/1567P8EaLqzmKdtEMu5NVv9Tty_feihGUcnit6TM5V3A/edit#heading=h.c373ixkvhajg]
{noformat}
curl -O http://people.apache.org/~janhoy/dist/solr-8.0.0-SNAPSHOT.tgz
tar -xvzf solr-8.0.0-SNAPSHOT.tgz
cd solr-8.0.0-SNAPSHOT
bin/solr start
bin/solr create -c test
bin/post -c test example/exampledocs/*.xml
curl -s http://localhost:8983/solr/test/browse | grep ClassNotFoundException
bin/solr plugin search vel
bin/solr plugin install velocity
bin/solr restart
curl -s http://localhost:8983/solr/test/browse | grep ClassNotFoundException
curl -s http://localhost:8983/solr/test/browse | grep "Solr Admin"
{noformat}
Enjoy :)
> 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: [email protected]
For additional commands, e-mail: [email protected]