Skip to content

Commit 34ae1f9

Browse files
author
Christoph Büscher
authored
[Docs] Fix common word repetitions (#39703)
1 parent bade776 commit 34ae1f9

File tree

31 files changed

+35
-35
lines changed

31 files changed

+35
-35
lines changed

client/rest-high-level/src/main/java/org/elasticsearch/client/ml/job/process/DataCounts.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* Job processed record counts.
3535
* <p>
3636
* The getInput... methods return the actual number of
37-
* fields/records sent the the API including invalid records.
37+
* fields/records sent the API including invalid records.
3838
* The getProcessed... methods are the number sent to the
3939
* Engine.
4040
* <p>

docs/painless/painless-contexts/painless-bucket-selector-agg-context.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ to determine if a bucket should be retained or filtered out.
1515
==== Return
1616

1717
boolean::
18-
True if the the bucket should be retained, false if the bucket should be filtered out.
18+
True if the bucket should be retained, false if the bucket should be filtered out.
1919

2020
==== API
2121

@@ -78,4 +78,4 @@ GET /seats/_search
7878
// TEST[setup:seats]
7979
<1> The `buckets_path` points to the max aggregations (`max_cost`) and adds `max` variables
8080
to the `params` map
81-
<2> The user-specified `base_cost` is also added to the `params` map
81+
<2> The user-specified `base_cost` is also added to the `params` map

docs/reference/docs/index_.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ PUT twitter/_doc/1?version=2&version_type=external
367367
near real time aspects of search operations. If no version is provided,
368368
then the operation is executed without any version checks.
369369

370-
The above will succeed since the the supplied version of 2 is higher than
370+
The above will succeed since the supplied version of 2 is higher than
371371
the current document version of 1. If the document was already updated
372372
and its version was set to 2 or higher, the indexing command will fail
373373
and result in a conflict (409 http status code).

docs/reference/ilm/apis/explain.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ information for the step that's being performed on the index.
227227
<1> Status of the step that's in progress.
228228

229229
If the index is in the ERROR step, something went wrong while executing a
230-
step in the policy and and you will need to take action for the index to proceed
230+
step in the policy and you will need to take action for the index to proceed
231231
to the next step. To help you diagnose the problem, the explain response shows
232232
the step that failed and the step info provides information about the error.
233233

docs/reference/mapping/removal_of_types.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ In Elasticsearch 7.0, each API will support typeless requests,
431431
and specifying a type will produce a deprecation warning.
432432

433433
NOTE: Typeless APIs work even if the target index contains a custom type.
434-
For example, if an index has the the custom type name `my_type`, we can add
434+
For example, if an index has the custom type name `my_type`, we can add
435435
documents to it using typeless `index` calls, and load documents with typeless
436436
`get` calls.
437437

docs/src/test/java/org/elasticsearch/smoketest/DocsClientYamlTestSuiteIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ protected ClientYamlTestClient initClientYamlTestClient(
9898
}
9999

100100
/**
101-
* Compares the the results of running two analyzers against many random
101+
* Compares the results of running two analyzers against many random
102102
* strings. The goal is to figure out if two anlayzers are "the same" by
103103
* comparing their results. This is far from perfect but should be fairly
104104
* accurate, especially for gross things like missing {@code decimal_digit}

libs/dissect/src/main/java/org/elasticsearch/dissect/DissectParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public Map<String, String> parse(String inputString) {
182182
* all of the bytes then progress the main cursor. Repeat till the end of the input string. Since the string being searching for
183183
* (the delimiter) is generally small and rare the naive approach is efficient.
184184
*
185-
* In this case the the string that is walked is the input string, and the string being searched for is the current delimiter.
185+
* In this case the string that is walked is the input string, and the string being searched for is the current delimiter.
186186
* For example for a dissect pattern of {@code %{a},%{b}:%{c}} the delimiters (comma then colon) are searched for in the
187187
* input string. At class construction the list of keys+delimiters are found (dissectPairs), which allows the use of that ordered
188188
* list to know which delimiter to use for the search. The delimiters is progressed once the current delimiter is matched.

libs/dissect/src/test/java/org/elasticsearch/dissect/DissectParserTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void testLogstashSpecs() {
6767
assertMatch("%{a} » %{b}»%{c}€%{d}", "foo » bar»baz€quux",
6868
Arrays.asList("a", "b", "c", "d"), Arrays.asList("foo", "bar", "baz", "quux"));
6969
assertMatch("%{a} %{b} %{+a}", "foo bar baz quux", Arrays.asList("a", "b"), Arrays.asList("foo baz quux", "bar"), " ");
70-
//Logstash supports implicit ordering based anchored by the the key without the '+'
70+
//Logstash supports implicit ordering based anchored by the key without the '+'
7171
//This implementation will only honor implicit ordering for appending right to left else explicit order (/N) is required.
7272
//The results of this test differ from Logstash.
7373
assertMatch("%{+a} %{a} %{+a} %{b}", "December 31 1999 quux",

libs/ssl-config/src/main/java/org/elasticsearch/common/ssl/PemUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ private static byte[] possiblyDecryptPKCS1Key(Map<String, String> pemHeaders, St
397397
* defined in RFC 1423. RFC 1423 only defines DES-CBS and triple DES (EDE) in CBC mode. AES in CBC mode is also widely used though ( 3
398398
* different variants of 128, 192, 256 bit keys )
399399
*
400-
* @param dekHeaderValue The value of the the DEK-Info PEM header
400+
* @param dekHeaderValue The value of the DEK-Info PEM header
401401
* @param password The password with which the key is encrypted
402402
* @return a cipher of the appropriate algorithm and parameters to be used for decryption
403403
* @throws GeneralSecurityException if the algorithm is not available in the used security provider, or if the key is inappropriate

modules/ingest-common/src/main/java/org/elasticsearch/ingest/common/DateFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Function<String, ZonedDateTime> getFunction(String format, ZoneId zoneId, Locale
9292
int year = LocalDate.now(ZoneOffset.UTC).getYear();
9393
DateFormatter dateFormatter = DateFormatter.forPattern(format)
9494
.withLocale(locale);
95-
// if UTC zone is set here, the the time zone specified in the format will be ignored, leading to wrong dates
95+
// if UTC zone is set here, the time zone specified in the format will be ignored, leading to wrong dates
9696
if (isUtc == false) {
9797
dateFormatter = dateFormatter.withZone(zoneId);
9898
}

0 commit comments

Comments
 (0)