parent
2a38f155de
commit
ac3cc9641b
|
@ -107,7 +107,6 @@ buildRestTests.expectedUnconvertedCandidates = [
|
||||||
'reference/indices/put-mapping.asciidoc',
|
'reference/indices/put-mapping.asciidoc',
|
||||||
'reference/indices/recovery.asciidoc',
|
'reference/indices/recovery.asciidoc',
|
||||||
'reference/indices/segments.asciidoc',
|
'reference/indices/segments.asciidoc',
|
||||||
'reference/indices/shadow-replicas.asciidoc',
|
|
||||||
'reference/indices/shard-stores.asciidoc',
|
'reference/indices/shard-stores.asciidoc',
|
||||||
'reference/ingest/ingest-node.asciidoc',
|
'reference/ingest/ingest-node.asciidoc',
|
||||||
'reference/mapping/dynamic/templates.asciidoc',
|
'reference/mapping/dynamic/templates.asciidoc',
|
||||||
|
|
|
@ -44,7 +44,7 @@ mappings when using shadow replicas.
|
||||||
|
|
||||||
[source,js]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
curl -XPUT 'localhost:9200/my_index' -d '
|
PUT /my_index
|
||||||
{
|
{
|
||||||
"index" : {
|
"index" : {
|
||||||
"number_of_shards" : 1,
|
"number_of_shards" : 1,
|
||||||
|
@ -52,8 +52,10 @@ curl -XPUT 'localhost:9200/my_index' -d '
|
||||||
"data_path": "/opt/data/my_index",
|
"data_path": "/opt/data/my_index",
|
||||||
"shadow_replicas": true
|
"shadow_replicas": true
|
||||||
}
|
}
|
||||||
}'
|
}
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
// CONSOLE
|
||||||
|
// TEST[skip:no way to configure path.shared_data for /opt/data]
|
||||||
|
|
||||||
[WARNING]
|
[WARNING]
|
||||||
========================
|
========================
|
||||||
|
|
Loading…
Reference in New Issue