[
https://issues.apache.org/jira/browse/SOLR-17024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Gerlowski resolved SOLR-17024.
------------------------------------
Fix Version/s: main (10.0)
9.5
Resolution: Fixed
> 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
> Fix For: main (10.0), 9.5
>
> 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]