Skip to content

Commit

Permalink
[DOCS] Replaces CCR terms with attributes (#39516)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Mar 12, 2019
1 parent b68af89 commit 9d35df8
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/reference/ccr/apis/ccr-apis.asciidoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[role="xpack"]
[testenv="platinum"]
[[ccr-apis]]
== Cross-cluster replication APIs
== {ccr-cap} APIs

You can use the following APIs to perform {ccr} operations.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/ccr/apis/get-ccr-stats.asciidoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[role="xpack"]
[testenv="platinum"]
[[ccr-get-stats]]
=== Get cross-cluster replication stats API
=== Get {ccr} stats API
++++
<titleabbrev>Get CCR stats</titleabbrev>
++++
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/ccr/index.asciidoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[role="xpack"]
[testenv="platinum"]
[[xpack-ccr]]
= Cross-cluster replication
= {ccr-cap}

[partintro]
--
Expand Down
3 changes: 2 additions & 1 deletion docs/reference/ccr/overview.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
[[ccr-overview]]
== Overview

Cross-cluster replication is done on an index-by-index basis. Replication is

{ccr-cap} is done on an index-by-index basis. Replication is
configured at the index level. For each configured replication there is a
replication source index called the _leader index_ and a replication target
index called the _follower index_.
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/ccr/requirements.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[[ccr-requirements]]
=== Requirements for leader indices

Cross-cluster replication works by replaying the history of individual write
{ccr-cap} works by replaying the history of individual write
operations that were performed on the shards of the leader index. This means that the
history of these operations needs to be retained on the leader shards so that
they can be pulled by the follower shard tasks. The underlying mechanism used to
Expand Down
29 changes: 23 additions & 6 deletions docs/reference/glossary.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
same cluster name. Each cluster has a single master node which is
chosen automatically by the cluster and which can be replaced if the
current master node fails.

[[glossary-ccr]] {ccr} (CCR)::

The {ccr} feature enables you to replicate indices in remote clusters to your
local cluster. For more information, see
{stack-ov}/xpack-ccr.html[{ccr-cap}].

[[glossary-document]] document ::

Expand All @@ -42,12 +48,6 @@
<<glossary-source_field,`_source` field>>, which is returned by default when
getting or searching for a document.

[[glossary-id]] id ::

The ID of a <<glossary-document,document>> identifies a document. The
`index/id` of a document must be unique. If no ID is provided,
then it will be auto-generated. (also see <<glossary-routing,routing>>)

[[glossary-field]] field ::

A <<glossary-document,document>> contains a list of fields, or key-value
Expand All @@ -69,6 +69,17 @@
in a <<query-filter-context,filter context>>,
hence it is called a filter. Filters are simple checks for set inclusion or exclusion.
In most cases, the goal of filtering is to reduce the number of documents that have to be examined.

[[glossary-follower-index]] follower index ::

Follower indices are the target indices for <<glossary-ccr,{ccr}>>. They exist
in your local cluster and replicate <<glossary-leader-index,leader indices>>.

[[glossary-id]] id ::

The ID of a <<glossary-document,document>> identifies a document. The
`index/id` of a document must be unique. If no ID is provided,
then it will be auto-generated. (also see <<glossary-routing,routing>>)

[[glossary-index]] index ::

Expand All @@ -79,6 +90,12 @@
An index is a logical namespace which maps to one or more
<<glossary-primary-shard,primary shards>> and can have zero or more
<<glossary-replica-shard,replica shards>>.

[[glossary-leader-index]] leader index ::

Leader indices are the source indices for <<glossary-ccr,{ccr}>>. They exist
on remote clusters and are replicated to
<<glossary-follower-index,follower indices>>.

[[glossary-mapping]] mapping ::

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/modules/remote-clusters.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ endif::[]
ifdef::include-xpack[]
The _remote clusters_ module enables you to establish uni-directional
connections to a remote cluster. This functionality is used in
{stack-ov}/xpack-ccr.html[cross-cluster replication] and
{stack-ov}/xpack-ccr.html[{ccr}] and
<<modules-cross-cluster-search,cross-cluster search>>.
endif::[]

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/rest-api/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
directly to configure and access {xpack} features.

* <<info-api,Info API>>
* <<ccr-apis,Cross-cluster replication APIs>>
* <<ccr-apis,{ccr-cap} APIs>>
* <<graph-explore-api,Graph Explore API>>
* <<freeze-index-api>>, <<unfreeze-index-api>>
* <<index-lifecycle-management-api,Index lifecycle management APIs>>
Expand Down

0 comments on commit 9d35df8

Please sign in to comment.