Skip to content

Commit b7c0d28

Browse files
lipsillChristoph Büscher
authored and
Christoph Büscher
committed
[Docs] Remove repeating words (#33087)
1 parent 525cda0 commit b7c0d28

18 files changed

+20
-20
lines changed

docs/java-rest/high-level/licensing/put-license.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The license can be added or updated using the `putLicense()` method:
1010
--------------------------------------------------
1111
include-tagged::{doc-tests}/LicensingDocumentationIT.java[put-license-execute]
1212
--------------------------------------------------
13-
<1> Set the categories of information to retrieve. The the default is to
13+
<1> Set the categories of information to retrieve. The default is to
1414
return no information which is useful for checking if {xpack} is installed
1515
but not much else.
1616
<2> A JSON document containing the license information.

docs/java-rest/high-level/migration.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ include-tagged::{doc-tests}/MigrationDocumentationIT.java[migration-cluster-heal
270270
helper requires the content type of the response to be passed as an argument and returns
271271
a `Map` of objects. Values in the map can be of any type, including inner `Map` that are
272272
used to represent the JSON object hierarchy.
273-
<5> Retrieve the value of the `status` field in the response map, casts it as a a `String`
273+
<5> Retrieve the value of the `status` field in the response map, casts it as a `String`
274274
object and use the `ClusterHealthStatus.fromString()` method to convert it as a `ClusterHealthStatus`
275275
object. This method throws an exception if the value does not corresponds to a valid cluster
276276
health status.

docs/java-rest/high-level/miscellaneous/x-pack-info.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ include-tagged::{doc-tests}/MiscellaneousDocumentationIT.java[x-pack-info-execut
1313
--------------------------------------------------
1414
<1> Enable verbose mode. The default is `false` but `true` will return
1515
more information.
16-
<2> Set the categories of information to retrieve. The the default is to
16+
<2> Set the categories of information to retrieve. The default is to
1717
return no information which is useful for checking if {xpack} is installed
1818
but not much else.
1919

docs/painless/painless-debugging.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Painless doesn't have a
77
https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop[REPL]
8-
and while it'd be nice for it to have one one day, it wouldn't tell you the
8+
and while it'd be nice for it to have one day, it wouldn't tell you the
99
whole story around debugging painless scripts embedded in Elasticsearch because
1010
the data that the scripts have access to or "context" is so important. For now
1111
the best way to debug embedded scripts is by throwing exceptions at choice

docs/painless/painless-operators-array.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ and `]` tokens.
254254
*Errors*
255255

256256
* If a value other than an `int` type value or a value that is castable to an
257-
`int` type value is specified for for a dimension's size.
257+
`int` type value is specified for a dimension's size.
258258

259259
*Grammar*
260260

docs/reference/aggregations/bucket/significantterms-aggregation.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ Scripts can be inline (as in above example), indexed or stored on disk. For deta
433433
Available parameters in the script are
434434

435435
[horizontal]
436-
`_subset_freq`:: Number of documents the term appears in in the subset.
437-
`_superset_freq`:: Number of documents the term appears in in the superset.
436+
`_subset_freq`:: Number of documents the term appears in the subset.
437+
`_superset_freq`:: Number of documents the term appears in the superset.
438438
`_subset_size`:: Number of documents in the subset.
439439
`_superset_size`:: Number of documents in the superset.
440440

docs/reference/aggregations/pipeline/movfn-aggregation.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ POST /_search
307307

308308
===== stdDev Function
309309

310-
This function accepts a collection of doubles and and average, then returns the standard deviation of the values in that window.
310+
This function accepts a collection of doubles and average, then returns the standard deviation of the values in that window.
311311
`null` and `NaN` values are ignored; the sum is only calculated over the real values. If the window is empty, or all values are
312312
`null`/`NaN`, `0.0` is returned as the result.
313313

docs/reference/cluster/remote-info.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ GET /_remote/info
1010
----------------------------------
1111
// CONSOLE
1212

13-
This command returns returns connection and endpoint information keyed by
13+
This command returns connection and endpoint information keyed by
1414
the configured remote cluster alias.
1515

1616
[float]

docs/reference/cluster/reroute.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ POST /_cluster/reroute
3131
// CONSOLE
3232
// TEST[skip:doc tests run with only a single node]
3333

34-
It is important to note that that after processing any reroute commands
34+
It is important to note that after processing any reroute commands
3535
Elasticsearch will perform rebalancing as normal (respecting the values of
3636
settings such as `cluster.routing.rebalance.enable`) in order to remain in a
3737
balanced state. For example, if the requested allocation includes moving a

docs/reference/cluster/tasks.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ might look like:
127127
The new `description` field contains human readable text that identifies the
128128
particular request that the task is performing such as identifying the search
129129
request being performed by a search task like the example above. Other kinds of
130-
task have have different descriptions, like <<docs-reindex,`_reindex`>> which
130+
task have different descriptions, like <<docs-reindex,`_reindex`>> which
131131
has the search and the destination, or <<docs-bulk,`_bulk`>> which just has the
132132
number of requests and the destination indices. Many requests will only have an
133133
empty description because more detailed information about the request is not

docs/reference/modules/gateway.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ NOTE: These settings only take effect on a full cluster restart.
5151

5252
=== Dangling indices
5353

54-
When a node joins the cluster, any shards stored in its local data directory
54+
When a node joins the cluster, any shards stored in its local data
5555
directory which do not already exist in the cluster will be imported into the
5656
cluster. This functionality is intended as a best effort to help users who
5757
lose all master nodes. If a new master node is started which is unaware of

docs/reference/monitoring/http-export.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ see <<http-exporter-settings>>.
9696
[[http-exporter-dns]]
9797
==== Using DNS Hosts in HTTP Exporters
9898

99-
{monitoring} runs inside of the the JVM security manager. When the JVM has the
99+
{monitoring} runs inside of the JVM security manager. When the JVM has the
100100
security manager enabled, the JVM changes the duration so that it caches DNS
101101
lookups indefinitely (for example, the mapping of a DNS hostname to an IP
102102
address). For this reason, if you are in an environment where the DNS response

docs/reference/query-dsl/span-multi-term-query.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ WARNING: `span_multi` queries will hit too many clauses failure if the number of
4141
boolean query limit (defaults to 1024).To avoid an unbounded expansion you can set the <<query-dsl-multi-term-rewrite,
4242
rewrite method>> of the multi term query to `top_terms_*` rewrite. Or, if you use `span_multi` on `prefix` query only,
4343
you can activate the <<index-prefix-config,`index_prefixes`>> field option of the `text` field instead. This will
44-
rewrite any prefix query on the field to a a single term query that matches the indexed prefix.
44+
rewrite any prefix query on the field to a single term query that matches the indexed prefix.
4545

docs/reference/search/request/collapse.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,4 +217,4 @@ Response:
217217
--------------------------------------------------
218218
// NOTCONSOLE
219219

220-
NOTE: Second level of of collapsing doesn't allow `inner_hits`.
220+
NOTE: Second level of collapsing doesn't allow `inner_hits`.

docs/reference/settings/security-settings.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ the filter. If not set, the user DN is passed into the filter. Defaults to Empt
334334
`unmapped_groups_as_roles`::
335335
If set to `true`, the names of any unmapped LDAP groups are used as role names
336336
and assigned to the user. A group is considered to be _unmapped_ if it is not
337-
not referenced in a
337+
referenced in a
338338
{xpack-ref}/mapping-roles.html#mapping-roles-file[role-mapping file]. API-based
339339
role mappings are not considered. Defaults to `false`.
340340

@@ -479,7 +479,7 @@ this setting controls the amount of time to cache DNS lookups. Defaults
479479
to `1h`.
480480

481481
`domain_name`::
482-
The domain name of Active Directory. If the the `url` and `user_search_dn`
482+
The domain name of Active Directory. If the `url` and the `user_search_dn`
483483
settings are not specified, the cluster can derive those values from this
484484
setting. Required.
485485

docs/reference/sql/concepts.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ So let's start from the bottom; these roughly are:
2525

2626
|`column`
2727
|`field`
28-
|In both cases, at the lowest level, data is stored in in _named_ entries, of a variety of <<sql-data-types, data types>>, containing _one_ value. SQL calls such an entry a _column_ while {es} a _field_.
28+
|In both cases, at the lowest level, data is stored in _named_ entries, of a variety of <<sql-data-types, data types>>, containing _one_ value. SQL calls such an entry a _column_ while {es} a _field_.
2929
Notice that in {es} a field can contain _multiple_ values of the same type (esentially a list) while in SQL, a _column_ can contain _exactly_ one value of said type.
3030
{es-sql} will do its best to preserve the SQL semantic and, depending on the query, reject those that return fields with more than one value.
3131

docs/reference/testing/testing-framework.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ As many Elasticsearch tests are checking for a similar output, like the amount o
230230
`assertMatchCount()`:: Asserts a matching count from a percolation response
231231
`assertFirstHit()`:: Asserts the first hit hits the specified matcher
232232
`assertSecondHit()`:: Asserts the second hit hits the specified matcher
233-
`assertThirdHit()`:: Asserts the third hits hits the specified matcher
233+
`assertThirdHit()`:: Asserts the third hit hits the specified matcher
234234
`assertSearchHit()`:: Assert a certain element in a search response hits the specified matcher
235235
`assertNoFailures()`:: Asserts that no shard failures have occurred in the response
236236
`assertFailures()`:: Asserts that shard failures have happened during a search request

docs/resiliency/index.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ Upgrading indices create with Lucene 3.x (Elasticsearch v0.20 and before) to Luc
459459
[float]
460460
=== Improve error handling when deleting files (STATUS: DONE, v1.4.0.Beta1)
461461

462-
Lucene uses reference counting to prevent files that are still in use from being deleted. Lucene testing discovered a bug ({JIRA}5919[LUCENE-5919]) when decrementing the ref count on a batch of files. If deleting some of the files resulted in an exception (e.g. due to interference from a virus scanner), the files that had had their ref counts decremented successfully could later have their ref counts deleted again, incorrectly, resulting in files being physically deleted before their time. This is fixed in Lucene 4.10.
462+
Lucene uses reference counting to prevent files that are still in use from being deleted. Lucene testing discovered a bug ({JIRA}5919[LUCENE-5919]) when decrementing the ref count on a batch of files. If deleting some of the files resulted in an exception (e.g. due to interference from a virus scanner), the files that had their ref counts decremented successfully could later have their ref counts deleted again, incorrectly, resulting in files being physically deleted before their time. This is fixed in Lucene 4.10.
463463

464464
[float]
465465
=== Using Lucene Checksums to verify shards during snapshot/restore (STATUS:DONE, v1.3.3)

0 commit comments

Comments
 (0)