SOLR-11327: MODIFYCOLLECTION should be able to edit policy attribute

This commit is contained in:
Noble Paul 2017-09-07 20:01:09 +09:30
parent f121de2854
commit a73ffff8e3
3 changed files with 13 additions and 0 deletions

View File

@ -109,6 +109,8 @@ Replica placement rules. See the section <<rule-based-replica-placement.adoc#rul
`snitch`::
Details of the snitch provider. See the section <<rule-based-replica-placement.adoc#rule-based-replica-placement,Rule-based Replica Placement>> for details.
`policy`:: Name of the collection-level policy. See <<solrcloud-autoscaling-policy-preferences.adoc#collection-specific-policy, Defining Collection-Specific Policies >> for details
=== CREATE Response
The response will include the status of the request and the new core names. If the status is anything other than "success", an error message will explain why the request failed.
@ -173,6 +175,7 @@ The attributes that can be modified are:
* collection.configName
* rule
* snitch
* policy
+
See the <<create,CREATE action>> section above for details on these attributes.

View File

@ -101,6 +101,11 @@
"type": "string"
}
},
"policy": {
"type": "string",
"documentation": "https://lucene.apache.org/solr/guide/solrcloud-autoscaling-policy-preferences.html",
"description": "Name of the collection-level policy"
},
"properties": {
"type": "object",
"documentation": "https://lucene.apache.org/solr/guide/defining-core-properties.html",

View File

@ -19,6 +19,11 @@
"type": "string"
}
},
"policy": {
"type": "string",
"documentation": "https://lucene.apache.org/solr/guide/solrcloud-autoscaling-policy-preferences.html",
"description": "Name of the collection-level policy"
},
"autoAddReplicas": {
"type": "boolean",
"description": "When set to true, enables auto addition of replicas on shared file systems (such as HDFS). See https://lucene.apache.org/solr/guide/running-solr-on-hdfs.html for more details on settings and overrides."