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

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

Commit 0155eb6910ac86499a93e5bf742a7b5fd78653bf in solr's branch 
refs/heads/branch_9x from Jason Gerlowski
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=0155eb6910a ]

SOLR-17024: Remove deprecated 'collectionDefaults' support (#2002)

Solr 7.5 replaced the 'collectionDefaults: {...}' clusterprop convention
with the additionally nested `defaults: collection: {...}` syntax.  The
legacy convention was deprecated and slated for removal in 8.0, but fell
through the cracks.

This commit removes the last vestiges of this convention from our code.


> Remove support for deprecated "collection-default clusterprop syntax
> --------------------------------------------------------------------
>
>                 Key: SOLR-17024
>                 URL: https://issues.apache.org/jira/browse/SOLR-17024
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 9.5
>            Reporter: Jason Gerlowski
>            Assignee: Jason Gerlowski
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> SOLR-12827 changed the structure that Solr uses to store collection-default 
> clusterprops all the way back in 8.0.
> Prior to 8.0, collection-default clusterprops were specified using a 
> {{collectionDefaults}} key, as in:
> {code}
> {
>   "collectionDefaults" : {
>       "numShards": 2,
>       "numNrtReplicas": 2,
>   }
> }
> {code}
> Starting with 8.0, this was changed to a format that relies on additional 
> nesting:
> {code}
> {
>   "defaults" : {
>     "collection": {
>       "numShards": 2,
>       "numNrtReplicas": 2,
>     }
>   }
> }
> {code}
>  
> SOLR-12827 deprecated the old format and removed all documentation 
> referencing it.  The code itself though still has a few vestiges of this old 
> format.  This ticket aims to remove these last traces of the old format.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to