mirror of https://github.com/apache/lucene.git
SOLR-12448: Fix outdated docs that say autoAddReplicas is for shared FS only in Ref Guide and v2 API specs
This commit is contained in:
parent
6fbaf698b9
commit
ecad9198d8
|
@ -52,7 +52,9 @@ The number of shards to be created as part of the collection. This is a required
|
||||||
A comma separated list of shard names, e.g., `shard-x,shard-y,shard-z`. This is a required parameter when the `router.name` is `implicit`.
|
A comma separated list of shard names, e.g., `shard-x,shard-y,shard-z`. This is a required parameter when the `router.name` is `implicit`.
|
||||||
|
|
||||||
`replicationFactor`::
|
`replicationFactor`::
|
||||||
The number of replicas to be created for each shard. The default is `1`. This will create a NRT type of replica. If you want another type of replica, see the `tlogReplicas` and `pullReplica` parameters. See the section <<shards-and-indexing-data-in-solrcloud.adoc#types-of-replicas,Types of Replicas>> for more information about replica types.
|
The number of replicas to be created for each shard. The default is `1`.
|
||||||
|
+
|
||||||
|
This will create a NRT type of replica. If you want another type of replica, see the `tlogReplicas` and `pullReplica` parameters below. See the section <<shards-and-indexing-data-in-solrcloud.adoc#types-of-replicas,Types of Replicas>> for more information about replica types.
|
||||||
|
|
||||||
`nrtReplicas`::
|
`nrtReplicas`::
|
||||||
The number of NRT (Near-Real-Time) replicas to create for this collection. This type of replica maintains a transaction log and updates its index locally. If you want all of your replicas to be of this type, you can simply use `replicationFactor` instead.
|
The number of NRT (Near-Real-Time) replicas to create for this collection. This type of replica maintains a transaction log and updates its index locally. If you want all of your replicas to be of this type, you can simply use `replicationFactor` instead.
|
||||||
|
@ -96,7 +98,9 @@ Please note that <<realtime-get.adoc#realtime-get,RealTime Get>> or retrieval by
|
||||||
Set core property _name_ to _value_. See the section <<defining-core-properties.adoc#defining-core-properties,Defining core.properties>> for details on supported properties and values.
|
Set core property _name_ to _value_. See the section <<defining-core-properties.adoc#defining-core-properties,Defining core.properties>> for details on supported properties and values.
|
||||||
|
|
||||||
`autoAddReplicas`::
|
`autoAddReplicas`::
|
||||||
When set to `true`, enables automatic addition of replicas on shared file systems (such as HDFS) only. See the section <<running-solr-on-hdfs.adoc#automatically-add-replicas-in-solrcloud,autoAddReplicas Settings>> for more details on settings and overrides. The default is `false`.
|
When set to `true`, enables automatic addition of replicas when the number of active replicas falls below the value set for `replicationFactor`. This may occur if a replica goes down, for example. The default is `false`, which means new replicas will not be added.
|
||||||
|
+
|
||||||
|
While this parameter is provided as part of Solr's set of features to provide autoscaling of clusters, it is available even when you have not implemented any other part of autoscaling (such as a policy). See the section <<solrcloud-autoscaling-auto-add-replicas.adoc#the-autoaddreplicas-parameter,SolrCloud Autoscaling Automatically Adding Replicas>> for more details about this option and how it can be used.
|
||||||
|
|
||||||
`async`::
|
`async`::
|
||||||
Request ID to track this action which will be <<Asynchronous Calls,processed asynchronously>>.
|
Request ID to track this action which will be <<Asynchronous Calls,processed asynchronously>>.
|
||||||
|
|
|
@ -181,7 +181,7 @@ If using Kerberos, you will need to add the three Kerberos related properties to
|
||||||
|
|
||||||
== Automatically Add Replicas in SolrCloud
|
== Automatically Add Replicas in SolrCloud
|
||||||
|
|
||||||
The ability to automatically add new replicas when the Overseer notices that a shard has gone down was previously only available to users running Solr in HDFS, but it is now available to all users via Solr's autoscaling framework. See the section <<solrcloud-autoscaling-triggers.adoc#auto-add-replicas-trigger,Auto Add Replicas Trigger>> for details on how to enable and disable this feature.
|
The ability to automatically add new replicas when the Overseer notices that a shard has gone down was previously only available to users running Solr in HDFS, but it is now available to all users via Solr's autoscaling framework. See the section <<solrcloud-autoscaling-auto-add-replicas.adoc#the-autoaddreplicas-parameter,SolrCloud Autoscaling Automatically Adding Replicas>> for details on how to enable and disable this feature.
|
||||||
|
|
||||||
[WARNING]
|
[WARNING]
|
||||||
====
|
====
|
||||||
|
|
|
@ -82,7 +82,8 @@
|
||||||
},
|
},
|
||||||
"autoAddReplicas": {
|
"autoAddReplicas": {
|
||||||
"type": "boolean",
|
"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.",
|
"description": "When set to true, enables auto addition of replicas when the number of active replicas falls below the value set for replicationFactor.",
|
||||||
|
"documentation": "https://lucene.apache.org/solr/guide/solrcloud-autoscaling-auto-add-replicas.html",
|
||||||
"default": "false"
|
"default": "false"
|
||||||
},
|
},
|
||||||
"rule": {
|
"rule": {
|
||||||
|
|
|
@ -26,7 +26,9 @@
|
||||||
},
|
},
|
||||||
"autoAddReplicas": {
|
"autoAddReplicas": {
|
||||||
"type": "boolean",
|
"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."
|
"description": "When set to true, enables auto addition of replicas when the number of active replicas falls below the value set for replicationFactor.",
|
||||||
|
"documentation": "https://lucene.apache.org/solr/guide/solrcloud-autoscaling-auto-add-replicas.html",
|
||||||
|
"default": "false"
|
||||||
},
|
},
|
||||||
"replicationFactor": {
|
"replicationFactor": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
|
Loading…
Reference in New Issue