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

ASF subversion and git services commented on SOLR-13650:
--------------------------------------------------------

Commit 956a503341a4516801248339a65b22f4d47d7184 in lucene-solr's branch 
refs/heads/jira/SOLR-13661_2 from Ishan Chattopadhyaya
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=956a503 ]

SOLR-13707, SOLR-13659, SOLR-13565, SOLR-13650, SOLR-13710, SOLR-13721, 
SOLR-13637: Reverted these commits for a fresh start


> 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
>            Assignee: Noble Paul
>            Priority: Major
>              Labels: package
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {code:json}
> curl -X POST -H 'Content-type:application/json' --data-binary '
> {
>   "add-package": {
>        "name": "my-package" ,
>       "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.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to