[ 
https://issues.apache.org/jira/browse/SOLR-13650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16916076#comment-16916076
 ] 

Noble Paul edited comment on SOLR-13650 at 8/26/19 7:11 PM:
------------------------------------------------------------

It was cherry-picked from master when I committed another ticket. I've put it 
back


was (Author: noble.paul):
It was cherry-picked from master when I committed another ticket. 

> Support for named global classloaders
> -------------------------------------
>
>                 Key: SOLR-13650
>                 URL: https://issues.apache.org/jira/browse/SOLR-13650
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {code:json}
> curl -X POST -H 'Content-type:application/json' --data-binary '
> {
>   "add-package": {
>        "name": "my-package" ,
>       "url" : "http://host:port/url/of/jar";,
>       "sha512":"<the-sha512>"
>   }
> }' http://localhost:8983/api/cluster
> {code}
> 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:
> {code:json}
> 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 
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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

Reply via email to