You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Vamsee Yarlagadda (JIRA)" <ji...@apache.org> on 2014/07/18 19:14:06 UTC

[jira] [Commented] (SOLR-4999) Make the collections API consistent by using 'collection' instead of 'name'

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

Vamsee Yarlagadda commented on SOLR-4999:
-----------------------------------------

Good suggestion. But, this change might impact all the users who are using CollectionsAPI, which i assume is most of them. And moreover this might break their existing automation if any.

To enable ease of move, we can certainly provide support to both "name", "collection" starting from 5.0 and we can document that the users can use either of the property names to pass on the value(collectionName).

Looking at the CREATEALIAS, DELETEALIAS params, we are currently using "name" and with this proposal, i feel it would be good to use either "name" or "alias" for just the above operations.

Thoughts?


> Make the collections API consistent by using 'collection' instead of 'name'
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-4999
>                 URL: https://issues.apache.org/jira/browse/SOLR-4999
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>    Affects Versions: 4.3.1
>            Reporter: Anshum Gupta
>
> The collections API as of now are split between using 'name' and 'collection' parameter.
> We should add support to all APIs to work with 'collection', while maintaining 'name' (where it already exists) until 5.0.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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