Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
curl -X POST -H 'Content-type:application/json' --data-binary ' { "add-package": { "name": "my-package" , "sha512":"<the-sha512>" } }' http://localhost:8983/api/cluster
This means that Solr creates a globally accessible classloader with a name my-package which contains all the jars of that package.
A component should be able to use the package by using the "package" : "my-package".
eg:
curl -X POST -H 'Content-type:application/json' --data-binary ' { "create-searchcomponent": { "name": "my-searchcomponent" , "class" : "my.path.to.ClassName", "package" : "my-package" } }' http://localhost:8983/api/c/mycollection/config
Attachments
Issue Links
- relates to
-
SOLR-13565 Node level runtime libs loaded from remote urls
- Closed
- links to