[
https://issues.apache.org/jira/browse/SOLR-12387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16487068#comment-16487068
]
Andrzej Bialecki commented on SOLR-12387:
------------------------------------------
Cluster properties is a JSON map. I suggest using a proper nested hierarchy
instead of prefixes, because prefixes can quickly become awkward as we keep
adding new data there with more complex relationships between elements.
For example:
{code}
{
"defaults" : {
"collection": {
"numShards": 2,
"numNrtReplicas": 2,
}
}
}
{code}
> Have cluster-wide defaults for numShards, nrtReplicas, tlogReplicas,
> pullReplicas
> ---------------------------------------------------------------------------------
>
> Key: SOLR-12387
> URL: https://issues.apache.org/jira/browse/SOLR-12387
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Major
> Attachments: SOLR-12387.patch
>
>
> These will be cluster properties and the commands can omit these and the
> command would pick it up from the cluster properties
>
> the cluster property names are
> * {{default.numShards}}
> * {{default.nrtReplicas}}
> * {{default.tlogReplicas}}
> * {{default.pullReplicas}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]