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

ASF subversion and git services commented on SOLR-12827:
--------------------------------------------------------

Commit 5b4814eb580ca8469e88d9a8eaea111c9d4ae287 in lucene-solr's branch 
refs/heads/branch_7x from [~shalinmangar]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=5b4814e ]

SOLR-12827: Migrate cluster wide defaults syntax in cluster properties to a 
nested structure

The cluster wide defaults structure has changed from {collectionDefaults: 
{nrtReplicas : 2}} to {defaults : {collection : {nrtReplicas : 2}}}.  The old 
format continues to be supported and can be read from ZK as well as written 
using the V2 set-obj-property syntax but it is deprecated and will be removed 
in Solr 9. We recommend that users change their API calls to use the new format 
going forward.

(cherry picked from commit 152fd966a7a23b4a5379d9b24ae731ef4fe58766)


> Migrate cluster wide defaults syntax in cluster properties to a nested 
> structure
> --------------------------------------------------------------------------------
>
>                 Key: SOLR-12827
>                 URL: https://issues.apache.org/jira/browse/SOLR-12827
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>            Reporter: Shalin Shekhar Mangar
>            Priority: Major
>             Fix For: 7.6, master (8.0)
>
>         Attachments: SOLR-12827.patch
>
>
> SOLR-12387 introduced cluster wide defaults for collection properties. 
> However, the syntax committed is flat and ugly e.g. collectionDefaults 
> instead of defaults/collection inspite of the latter being proposed by 
> Andrzej. Anyway, we should change the format now before it sees widespread 
> use. I propose to fix documentation to describe the new format and 
> auto-convert cluster properties to new syntax on startup.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to