You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2014/11/24 18:26:13 UTC

[jira] [Updated] (SOLR-6787) API to manage jar files in Solr

     [ https://issues.apache.org/jira/browse/SOLR-6787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul updated SOLR-6787:
-----------------------------
    Description: 
A special collection called .system needs to be created by the user to store/manage jar files. The schema/solrconfig of that collection need to be automatically supplied by the system so that there are no errors

APIs need to be created to manage the content of that collection

{code}
#create a new jar or add a new version of a jar
curl -X POST -H 'Content-Type: application/octet-stream' -d @mycomponent.jar http://localhost:8983/solr/.system/blob/mycomponent

#  GET on the end point would give a list of jars and other details
curl http://localhost:8983/solr/.system/blob 
# GET on the end point with jar name would give  details of various versions of the available jars
curl http://localhost:8983/solr/.system/blob/mycomponent
{code}

  was:
A special collection called .system needs to be created by the user to store/manage jar files. The schema/solrconfig of that collection need to be automatically supplied by the system so that there are no errors

APIs need to be created to manage the content of that collection

{code}
#create a new jar or add a new version of a jar
curl -X POST -H 'Content-Type: application/octet-stream' -d @mycomponent.jar http://localhost:8983/solr/.system/jar/mycomponent

#  GET on the end point would give a list of jars and other details
curl http://localhost:8983/solr/.system/jar 
# GET on the end point with jar name would give  details of various versions of the available jars
curl http://localhost:8983/solr/.system/jar/mycomponent
{code}


> API to manage jar files in  Solr
> --------------------------------
>
>                 Key: SOLR-6787
>                 URL: https://issues.apache.org/jira/browse/SOLR-6787
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>
> A special collection called .system needs to be created by the user to store/manage jar files. The schema/solrconfig of that collection need to be automatically supplied by the system so that there are no errors
> APIs need to be created to manage the content of that collection
> {code}
> #create a new jar or add a new version of a jar
> curl -X POST -H 'Content-Type: application/octet-stream' -d @mycomponent.jar http://localhost:8983/solr/.system/blob/mycomponent
> #  GET on the end point would give a list of jars and other details
> curl http://localhost:8983/solr/.system/blob 
> # GET on the end point with jar name would give  details of various versions of the available jars
> curl http://localhost:8983/solr/.system/blob/mycomponent
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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