[DOCS] Console-ify shadow replica documentation

Relates to #23001
This commit is contained in:
Lee Hinman 2017-02-15 11:58:41 -07:00
parent 2a38f155de
commit ac3cc9641b
No known key found for this signature in database
GPG Key ID: 9D6465D43ACECAE0
2 changed files with 4 additions and 3 deletions

View File

@ -107,7 +107,6 @@ buildRestTests.expectedUnconvertedCandidates = [
'reference/indices/put-mapping.asciidoc',
'reference/indices/recovery.asciidoc',
'reference/indices/segments.asciidoc',
'reference/indices/shadow-replicas.asciidoc',
'reference/indices/shard-stores.asciidoc',
'reference/ingest/ingest-node.asciidoc',
'reference/mapping/dynamic/templates.asciidoc',

View File

@ -44,7 +44,7 @@ mappings when using shadow replicas.
[source,js]
--------------------------------------------------
curl -XPUT 'localhost:9200/my_index' -d '
PUT /my_index
{
"index" : {
"number_of_shards" : 1,
@ -52,8 +52,10 @@ curl -XPUT 'localhost:9200/my_index' -d '
"data_path": "/opt/data/my_index",
"shadow_replicas": true
}
}'
}
--------------------------------------------------
// CONSOLE
// TEST[skip:no way to configure path.shared_data for /opt/data]
[WARNING]
========================