mirror of https://github.com/apache/lucene.git
specifying 'policy' during collection creation
This commit is contained in:
parent
1d31370577
commit
2d8aaa3dcf
|
@ -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.
|
||||
|
|
|
@ -186,6 +186,7 @@ Place all replicas in nodes with freedisk more than 500GB when possible. Here we
|
|||
[source,json]
|
||||
{"replica": 0, "freedisk": "<500", "strict" : false}
|
||||
|
||||
[[collection-specific-policy]]
|
||||
== Defining Collection-Specific Policies
|
||||
|
||||
By default, the cluster policy, if it exists, is used automatically for all collections in the cluster. However, we can create named policies which can be attached to a collection at the time of its creation by specifying the policy name along with a `policy` parameter.
|
||||
|
|
Loading…
Reference in New Issue