Skip to content

Commit 1c32039

Browse files
committed
Fix the docs
1 parent 30fe7d7 commit 1c32039

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

docs/reference/indices/shrink-index.asciidoc

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ the following request:
6262

6363
[source,js]
6464
--------------------------------------------------
65-
POST my_source_index/_shrink/my_target_index?copy_settings=true
65+
POST my_source_index/_shrink/my_target_index
6666
{
6767
"settings": {
6868
"index.routing.allocation.require._name": null, <1>
@@ -106,7 +106,7 @@ and accepts `settings` and `aliases` parameters for the target index:
106106

107107
[source,js]
108108
--------------------------------------------------
109-
POST my_source_index/_shrink/my_target_index?copy_settings=true
109+
POST my_source_index/_shrink/my_target_index
110110
{
111111
"settings": {
112112
"index.number_of_replicas": 1,
@@ -130,16 +130,6 @@ POST my_source_index/_shrink/my_target_index?copy_settings=true
130130

131131
NOTE: Mappings may not be specified in the `_shrink` request.
132132

133-
NOTE: By default, with the exception of `index.analysis`, `index.similarity`,
134-
and `index.sort` settings, index settings on the source index are not copied
135-
during a shrink operation. With the exception of non-copyable settings, settings
136-
from the source index can be copied to the target index by adding the URL
137-
parameter `copy_settings=true` to the request. Note that `copy_settings` can not
138-
be set to `false`. The parameter `copy_settings` will be removed in 8.0.0
139-
140-
deprecated[6.4.0, not copying settings is deprecated, copying settings will be
141-
the default behavior in 7.x]
142-
143133
[float]
144134
=== Monitoring the shrink process
145135

docs/reference/indices/split-index.asciidoc

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ the following request:
123123

124124
[source,js]
125125
--------------------------------------------------
126-
POST my_source_index/_split/my_target_index?copy_settings=true
126+
POST my_source_index/_split/my_target_index
127127
{
128128
"settings": {
129129
"index.number_of_shards": 2
@@ -158,7 +158,7 @@ and accepts `settings` and `aliases` parameters for the target index:
158158

159159
[source,js]
160160
--------------------------------------------------
161-
POST my_source_index/_split/my_target_index?copy_settings=true
161+
POST my_source_index/_split/my_target_index
162162
{
163163
"settings": {
164164
"index.number_of_shards": 5 <1>
@@ -177,16 +177,6 @@ POST my_source_index/_split/my_target_index?copy_settings=true
177177

178178
NOTE: Mappings may not be specified in the `_split` request.
179179

180-
NOTE: By default, with the exception of `index.analysis`, `index.similarity`,
181-
and `index.sort` settings, index settings on the source index are not copied
182-
during a split operation. With the exception of non-copyable settings, settings
183-
from the source index can be copied to the target index by adding the URL
184-
parameter `copy_settings=true` to the request. Note that `copy_settings` can not
185-
be set to `false`. The parameter `copy_settings` will be removed in 8.0.0
186-
187-
deprecated[6.4.0, not copying settings is deprecated, copying settings will be
188-
the default behavior in 7.x]
189-
190180
[float]
191181
=== Monitoring the split process
192182

0 commit comments

Comments
 (0)