lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-5208) Support for the setting of core.properties key/values at create-time on Collections API
Date Thu, 21 Nov 2013 22:37:36 GMT

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

David Smiley commented on SOLR-5208:
------------------------------------

Erick, your condition checks the parameter as follows:
{code} param.indexOf(OverseerCollectionProcessor.COLL_PROP_PREFIX) != -1 {code}
Shouldn't you simply use String.startsWith versus checking at any arbitrary offset?

> 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
>             Fix For: 5.0, 4.7
>
>         Attachments: SOLR-5208.patch, 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 was sent by Atlassian JIRA
(v6.1#6144)

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


Mime
View raw message