Browse Source

[DOCS] Reorder index APIs alphabetically (#46981)

James Rodewig 6 years ago
parent
commit
7583c07fa8

+ 4 - 4
docs/java-rest/high-level/indices/indices_exists.asciidoc

@@ -5,12 +5,12 @@
 --
 
 [id="{upid}-{api}"]
-=== Indices Exists API
+=== Index Exists API
 
 [id="{upid}-{api}-request"]
-==== Indices Exists Request
+==== Index Exists Request
 
-The high-level REST client uses a +{request}+ for Indices Exists API. The index name (or indices' names) are required.
+The high-level REST client uses a +{request}+ for Index Exists API. The index name (or indices' names) are required.
 
 ["source","java",subs="attributes,callouts,macros"]
 --------------------------------------------------
@@ -20,7 +20,7 @@ include-tagged::{doc-tests-file}[{api}-request]
 
 [[java-rest-high-indices-exists-optional-args]]
 ==== Optional arguments
-Indices Exists API also accepts following optional arguments, through a +{request}+:
+Index exists API also accepts following optional arguments, through a +{request}+:
 
 ["source","java",subs="attributes,callouts,macros"]
 --------------------------------------------------

+ 2 - 2
docs/reference/cat/recovery.asciidoc

@@ -5,7 +5,7 @@
 ++++
 
 Returns information about ongoing and completed index shard recoveries, similar
-to the <<indices-recovery, indices recovery>> API.
+to the <<indices-recovery, index recovery>> API.
 
 
 [[cat-recovery-api-request]]
@@ -21,7 +21,7 @@ to the <<indices-recovery, indices recovery>> API.
 
 The cat recovery API returns information about index shard recoveries, both
 ongoing and completed. It is a more compact view of the JSON
-<<indices-recovery,indices recovery>> API.
+<<indices-recovery,index recovery>> API.
 
 A recovery event occurs anytime an index shard moves to a different node in the
 cluster. This can happen during a snapshot recovery, a change in replication

+ 34 - 34
docs/reference/indices.asciidoc

@@ -71,75 +71,75 @@ index settings, aliases, mappings, and index templates.
 * <<indices-synced-flush-api>>
 * <<indices-forcemerge>>
 
-include::indices/create-index.asciidoc[]
-
-include::indices/delete-index.asciidoc[]
 
-include::indices/get-index.asciidoc[]
+include::indices/add-alias.asciidoc[]
 
-include::indices/indices-exists.asciidoc[]
+include::indices/analyze.asciidoc[]
 
-include::indices/close.asciidoc[]
+include::indices/clearcache.asciidoc[]
 
-include::indices/open-close.asciidoc[]
+include::indices/clone-index.asciidoc[]
 
-include::indices/shrink-index.asciidoc[]
+include::indices/close.asciidoc[]
 
-include::indices/split-index.asciidoc[]
+include::indices/create-index.asciidoc[]
 
-include::indices/clone-index.asciidoc[]
+include::indices/delete-index.asciidoc[]
 
-include::indices/rollover-index.asciidoc[]
+include::indices/delete-alias.asciidoc[]
 
-include::indices/apis/freeze.asciidoc[]
+include::indices/delete-index-template.asciidoc[]
 
-include::indices/apis/unfreeze.asciidoc[]
+include::indices/flush.asciidoc[]
 
-include::indices/put-mapping.asciidoc[]
+include::indices/forcemerge.asciidoc[]
 
-include::indices/get-mapping.asciidoc[]
+include::indices/apis/freeze.asciidoc[]
 
 include::indices/get-field-mapping.asciidoc[]
 
-include::indices/add-alias.asciidoc[]
-
-include::indices/delete-alias.asciidoc[]
+include::indices/get-index.asciidoc[]
 
 include::indices/get-alias.asciidoc[]
 
-include::indices/alias-exists.asciidoc[]
+include::indices/get-settings.asciidoc[]
 
-include::indices/aliases.asciidoc[]
+include::indices/get-index-template.asciidoc[]
 
-include::indices/update-settings.asciidoc[]
+include::indices/get-mapping.asciidoc[]
 
-include::indices/get-settings.asciidoc[]
+include::indices/alias-exists.asciidoc[]
 
-include::indices/analyze.asciidoc[]
+include::indices/indices-exists.asciidoc[]
 
-include::indices/templates.asciidoc[]
+include::indices/recovery.asciidoc[]
 
-include::indices/delete-index-template.asciidoc[]
+include::indices/segments.asciidoc[]
 
-include::indices/get-index-template.asciidoc[]
+include::indices/shard-stores.asciidoc[]
+
+include::indices/stats.asciidoc[]
 
 include::indices/template-exists.asciidoc[]
 
-include::indices/stats.asciidoc[]
+include::indices/open-close.asciidoc[]
 
-include::indices/segments.asciidoc[]
+include::indices/templates.asciidoc[]
 
-include::indices/recovery.asciidoc[]
+include::indices/put-mapping.asciidoc[]
 
-include::indices/shard-stores.asciidoc[]
+include::indices/refresh.asciidoc[]
 
-include::indices/clearcache.asciidoc[]
+include::indices/rollover-index.asciidoc[]
 
-include::indices/flush.asciidoc[]
+include::indices/shrink-index.asciidoc[]
+
+include::indices/split-index.asciidoc[]
 
 include::indices/synced-flush.asciidoc[]
 
-include::indices/refresh.asciidoc[]
+include::indices/apis/unfreeze.asciidoc[]
 
-include::indices/forcemerge.asciidoc[]
+include::indices/aliases.asciidoc[]
 
+include::indices/update-settings.asciidoc[]

+ 4 - 1
docs/reference/indices/clearcache.asciidoc

@@ -1,5 +1,8 @@
 [[indices-clearcache]]
-=== Clear Cache
+=== Clear cache API
+++++
+<titleabbrev>Clear cache</titleabbrev>
+++++
 
 The clear cache API allows to clear either all caches or specific cached
 associated with one or more indices.

+ 1 - 1
docs/reference/indices/delete-index-template.asciidoc

@@ -1,7 +1,7 @@
 [[indices-delete-template]]
 === Delete index template API
 ++++
-<titleabbrev>Delete template index</titleabbrev>
+<titleabbrev>Delete index template</titleabbrev>
 ++++
 
 Deletes an existing index.

+ 1 - 1
docs/reference/indices/get-index-template.asciidoc

@@ -1,7 +1,7 @@
 [[indices-get-template]]
 === Get index template API
 ++++
-<titleabbrev>Get template index</titleabbrev>
+<titleabbrev>Get index template</titleabbrev>
 ++++
 
 Returns information about one or more index templates.

+ 2 - 2
docs/reference/indices/indices-exists.asciidoc

@@ -1,7 +1,7 @@
 [[indices-exists]]
-=== Indices exists API
+=== Index exists API
 ++++
-<titleabbrev>Indices exists</titleabbrev>
+<titleabbrev>Index exists</titleabbrev>
 ++++
 
 Checks if an index exists.

+ 6 - 3
docs/reference/indices/recovery.asciidoc

@@ -1,7 +1,10 @@
 [[indices-recovery]]
-=== Indices Recovery
+=== Index recovery API
+++++
+<titleabbrev>Index recovery</titleabbrev>
+++++
 
-The indices recovery API provides insight into on-going index shard recoveries.
+The index recovery API provides insight into on-going index shard recoveries.
 Recovery status may be reported for specific indices, or cluster-wide.
 
 For example, the following command would show recovery information for the indices "index1" and "index2".
@@ -18,7 +21,7 @@ To see cluster-wide recovery status simply leave out the index names.
 
 Here we create a repository and snapshot index1 in
 order to restore it right after and prints out the
-indices recovery result.
+index recovery result.
 
 [source,console]
 --------------------------------------------------

+ 4 - 1
docs/reference/indices/shard-stores.asciidoc

@@ -1,5 +1,8 @@
 [[indices-shards-stores]]
-=== Indices Shard Stores
+=== Index shard stores API
+++++
+<titleabbrev>Index shard stores</titleabbrev>
+++++
 
 Provides store information for shard copies of indices.
 Store information reports on which nodes shard copies exist, the shard

+ 4 - 1
docs/reference/indices/shrink-index.asciidoc

@@ -1,5 +1,8 @@
 [[indices-shrink-index]]
-=== Shrink Index
+=== Shrink index API
+++++
+<titleabbrev>Shrink index</titleabbrev>
+++++
 
 The shrink index API allows you to shrink an existing index into a new index
 with fewer primary shards. The requested number of primary shards in the target index

+ 4 - 1
docs/reference/indices/split-index.asciidoc

@@ -1,5 +1,8 @@
 [[indices-split-index]]
-=== Split Index
+=== Split index API
+++++
+<titleabbrev>Split index</titleabbrev>
+++++
 
 The split index API allows you to split an existing index into a new index,
 where each original primary shard is split into two or more primary shards in

+ 1 - 1
docs/reference/modules/indices/recovery.asciidoc

@@ -1,5 +1,5 @@
 [[recovery]]
-=== Indices Recovery
+=== Index recovery
 
 Peer recovery syncs data from a primary shard to a new or
 existing shard copy.

+ 1 - 1
docs/reference/modules/snapshots.asciidoc

@@ -773,7 +773,7 @@ creates the required number of replicas at this moment cluster switches to the `
 are created, the cluster switches to the `green` states.
 
 The cluster health operation provides only a high level status of the restore process. It's possible to get more
-detailed insight into the current state of the recovery process by using <<indices-recovery, indices recovery>> and
+detailed insight into the current state of the recovery process by using <<indices-recovery, index recovery>> and
 <<cat-recovery, cat recovery>> APIs.
 
 [float]