Browse Source

[DOCS] Console-ify shadow replica documentation

Relates to #23001
Lee Hinman 8 years ago
parent
commit
ac3cc9641b
2 changed files with 4 additions and 3 deletions
  1. 0 1
      docs/build.gradle
  2. 4 2
      docs/reference/indices/shadow-replicas.asciidoc

+ 0 - 1
docs/build.gradle

@@ -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',

+ 4 - 2
docs/reference/indices/shadow-replicas.asciidoc

@@ -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]
 ========================