From 3c44dfec6056ff8d9812eebdd47e04cba5609071 Mon Sep 17 00:00:00 2001 From: Pierre Grimaud Date: Mon, 26 Apr 2021 18:40:38 +0200 Subject: [PATCH] [DOCS] Fix typos (#72227) --- .../aggregations/metrics/top-metrics-aggregation.asciidoc | 6 +++--- docs/reference/docs/reindex.asciidoc | 2 +- docs/reference/indices/aliases.asciidoc | 2 +- docs/reference/indices/put-component-template.asciidoc | 2 +- docs/reference/indices/put-index-template.asciidoc | 2 +- docs/reference/ml/ml-shared.asciidoc | 2 +- docs/reference/rest-api/common-parms.asciidoc | 2 +- docs/reference/slm/apis/slm-get.asciidoc | 2 +- .../reference/snapshot-restore/register-repository.asciidoc | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/reference/aggregations/metrics/top-metrics-aggregation.asciidoc b/docs/reference/aggregations/metrics/top-metrics-aggregation.asciidoc index 2ecd52412dd6..d3daba17501f 100644 --- a/docs/reference/aggregations/metrics/top-metrics-aggregation.asciidoc +++ b/docs/reference/aggregations/metrics/top-metrics-aggregation.asciidoc @@ -334,8 +334,8 @@ Which returns: ===== Mixed sort types Sorting `top_metrics` by a field that has different types across different -indices producs somewhat suprising results: floating point fields are -always sorted independantly of whole numbered fields. +indices producs somewhat surprising results: floating point fields are +always sorted independently of whole numbered fields. [source,console,id=search-aggregations-metrics-top-metrics-mixed-sort] ---- @@ -374,7 +374,7 @@ Which returns: // TESTRESPONSE While this is better than an error it *probably* isn't what you were going for. -While it does lose some precision, you can explictly cast the whole number +While it does lose some precision, you can explicitly cast the whole number fields to floating points with something like: [source,console] diff --git a/docs/reference/docs/reindex.asciidoc b/docs/reference/docs/reindex.asciidoc index 66f7dbc19f4a..361ec6e68f97 100644 --- a/docs/reference/docs/reindex.asciidoc +++ b/docs/reference/docs/reindex.asciidoc @@ -339,7 +339,7 @@ section above, creating sub-requests which means it has some quirks: sub-requests are "child" tasks of the task for the request with `slices`. * Fetching the status of the task for the request with `slices` only contains the status of completed slices. -* These sub-requests are individually addressable for things like cancelation +* These sub-requests are individually addressable for things like cancellation and rethrottling. * Rethrottling the request with `slices` will rethrottle the unfinished sub-request proportionally. diff --git a/docs/reference/indices/aliases.asciidoc b/docs/reference/indices/aliases.asciidoc index 67ef100173e5..d64edeed9996 100644 --- a/docs/reference/indices/aliases.asciidoc +++ b/docs/reference/indices/aliases.asciidoc @@ -126,7 +126,7 @@ See <> for an example. `is_hidden`:: (Optional, Boolean) If `true`, the alias will be excluded from wildcard expressions by default, -unless overriden in the request using the `expand_wildcards` parameter, +unless overridden in the request using the `expand_wildcards` parameter, similar to <>. This property must be set to the same value on all indices that share an alias. Defaults to `false`. diff --git a/docs/reference/indices/put-component-template.asciidoc b/docs/reference/indices/put-component-template.asciidoc index 417611d8ee03..ccffd3a8849e 100644 --- a/docs/reference/indices/put-component-template.asciidoc +++ b/docs/reference/indices/put-component-template.asciidoc @@ -222,7 +222,7 @@ To check the `version`, you can use the < The version of the snapshot policy, only the latest verison is stored and incremented when the policy is updated +<1> The version of the snapshot policy, only the latest version is stored and incremented when the policy is updated <2> The last time this policy was modified. <3> The next time this policy will be executed. diff --git a/docs/reference/snapshot-restore/register-repository.asciidoc b/docs/reference/snapshot-restore/register-repository.asciidoc index 338a2b7298f7..41e8a15459b2 100644 --- a/docs/reference/snapshot-restore/register-repository.asciidoc +++ b/docs/reference/snapshot-restore/register-repository.asciidoc @@ -166,7 +166,7 @@ The `url` parameter supports the following protocols: `http_max_retries`:: - Specifies the maximun number of retries that are perfomed in case of transient failures for `http` and `https` URLs. + Specifies the maximun number of retries that are performed in case of transient failures for `http` and `https` URLs. The default value is `5`. `http_socket_timeout`::