[
https://issues.apache.org/jira/browse/SOLR-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erick Erickson updated SOLR-5208:
---------------------------------
Attachment: SOLR-5208.patch
Here's a Proof-of-Concept patch. It creates a core.properties file that has any
property.key=value pair specified on the collection.create line reproduced as
key=value. Mark was spot-on that it's just a matter of passing the params
through to core creation..
[[email protected]] is that what you had in mind?
Several questions though.
1> Is copying the property.key=value necessary in
CollectionsHandler.handleCreateShard?
2> Similarly, should the property.key=value stuff be done in
OverseerCollectionProcessor.createShard? What about splitShard? Just going by
all the params.set that "look kinda like create" it seems possible at least.
> Support for the setting of core.properties key/values at create-time on
> Collections API
> ---------------------------------------------------------------------------------------
>
> Key: SOLR-5208
> URL: https://issues.apache.org/jira/browse/SOLR-5208
> Project: Solr
> Issue Type: New Feature
> Components: SolrCloud
> Affects Versions: 4.4
> Reporter: Tim Vaillancourt
> Assignee: Erick Erickson
> Attachments: SOLR-5208.patch
>
>
> As discussed on e-mail thread "Sharing SolrCloud collection configs
> w/overrides"
> (http://search-lucene.com/m/MUWXu1DIsqY1&subj=Sharing+SolrCloud+collection+configs+w+overrides),
> Erick brought up a neat solution using HTTP params at create-time for the
> Collection API.
> Essentially, this request is for a functionality that allows the setting of
> variables (core.properties) on Collections API CREATE command.
> Erick's idea:
> "Maybe it's as simple as allowing more params for creation like
> collection.coreName where each param of the form collection.blah=blort
> gets an entry in the properties file blah=blort?..."
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]