[
https://issues.apache.org/jira/browse/SOLR-17024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17777430#comment-17777430
]
Jason Gerlowski commented on SOLR-17024:
----------------------------------------
It seems relatively low impact (since the old syntax has been undocumented for
several major releases now) and it's been deprecated in 3 major release lines
at this point (7x, 8x, and 9x), so I'm going to remove this in branch_9x (for
9.5) instead of waiting for 10.0. 5 years of deprecation is long enough :p
> 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: 10m
> 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]