You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Anshum Gupta (JIRA)" <ji...@apache.org> on 2015/02/04 23:04:36 UTC

[jira] [Commented] (SOLR-5955) Add config templates to SolrCloud.

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

Anshum Gupta commented on SOLR-5955:
------------------------------------

It would be good to support templates in SolrCloud but here's what I'm thinking:
A user can at the time of collection creation, specify a config as a template i.e. configTemplate=xxx. This would imply 2 things:
# Copy the config from /configs/xxx to /collections/<collection_name>config/xxx.
# The copied config truly belongs to this collection and would be cleaned up when the collection gets deleted.

This would work in parallel with the current concept of configSets where a config in /configs/ can be shared among multiple collections (a totally valid and practical use case).

[~markrmiller@gmail.com] : Do you think I could just reuse this issue for this or should I create another issue?

> Add config templates to SolrCloud.
> ----------------------------------
>
>                 Key: SOLR-5955
>                 URL: https://issues.apache.org/jira/browse/SOLR-5955
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Mark Miller
>         Attachments: SOLR-5955.patch
>
>
> You should be able to upload config sets to a templates location and then specify a template as your starting config when creating new collections via REST API. We can have a default template that we ship with.
> This will let you create collections from scratch via REST API, and then you can use things like the schema REST API to customize the template config to your needs.



--
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