You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jason Gerlowski (Jira)" <ji...@apache.org> on 2023/10/11 12:41:00 UTC

[jira] [Created] (SOLR-17024) Remove support for deprecated "collection-default clusterprop syntax

Jason Gerlowski created SOLR-17024:
--------------------------------------

             Summary: 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
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 9.5
            Reporter: Jason Gerlowski
            Assignee: Jason Gerlowski


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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org