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

Noble Paul edited comment on SOLR-5606 at 7/29/15 6:11 AM:
-----------------------------------------------------------

It is fine to have {{/solr/collections}} end point for collection related APIs. 
Just keep in mind that we are taking up a name in the namespace (this could 
collide with a collection name) with every path we add. 

What I mean to say is let us not add too many top level paths 
{{/solr/collections}}, {{/solr/cores}} , {{/solr/configs}}, {{solr/cluster}}

Let's have  a list of end points we need and make a call on what should be the 
paths. 

It is OK to have a prefix of {{/solr/admin/*}} because we already have that 
namespace taken up. So the only name collision is {{admin}} which is already 
taken up

I mean we can have end points such as 

* {{/admin/collections}}
* {{/admin/cores}}
* {{/admin/cluster}}
* {{/admin/configs}}
* {{/admin/security}}


was (Author: noble.paul):
It is fine to have {{/solr/collections}} end point for collection related APIs. 
Just keep in mind that we are taking up a name in the namespace (this could 
collide with a collection name) with every path we add. 

What I mean to say is let us not add too many top level paths 
{{/solr/collections}}, {{/solr/cores}} , {{/solr/configs}}, {{solr/cluster}}

Let's have  a list of end points we need and make a call on what should be the 
paths. 

It is OK to have a prefix of {{/solr/admin/*}} because we already have that 
namespace taken up. So the only name collision is {{admin}} which is already 
taken up

I mean we can have end points such as 

* {{/admin/collections}}
* {{/admin/cores}}
* {{/admin/cluster}}
* {{/admin/configs}}

> REST based Collections API
> --------------------------
>
>                 Key: SOLR-5606
>                 URL: https://issues.apache.org/jira/browse/SOLR-5606
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Jan Høydahl
>            Priority: Minor
>             Fix For: Trunk
>
>
> For consistency reasons, the collections API (and other admin APIs) should be 
> REST based. Spinoff from SOLR-1523



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

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

Reply via email to