Skip to content

Commit 1725fc9

Browse files
authored
Replacing leftover references to OpenSearch (opensearch-project#763)
Signed-off-by: Vacha Shah <vachshah@amazon.com>
1 parent 2218f70 commit 1725fc9

16 files changed

Lines changed: 44 additions & 44 deletions

java-client/src/main/java/org/opensearch/client/json/ExternallyTaggedUnion.java

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

5050
/**
5151
* Utilities for union types whose discriminant is not directly part of the structure, either as an enclosing property name or as
52-
* an inner property. This is used for Elasticsearch aggregation results and suggesters, using the {@code typed_keys} parameter that
52+
* an inner property. This is used for OpenSearch aggregation results and suggesters, using the {@code typed_keys} parameter that
5353
* encodes a name+type in a single JSON property.
5454
*
5555
*/

java-client/src/main/java/org/opensearch/client/opensearch/_types/ErrorResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
// typedef: _types.ErrorResponseBase
4949

5050
/**
51-
* The response returned by Elasticsearch when request execution did not
51+
* The response returned by OpenSearch when request execution did not
5252
* succeed.
5353
*
5454
*/

java-client/src/main/java/org/opensearch/client/opensearch/_types/OpenSearchException.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
package org.opensearch.client.opensearch._types;
3434

3535
/**
36-
* Exception thrown by API client methods when Elasticsearch could not accept or
36+
* Exception thrown by API client methods when OpenSearch could not accept or
3737
* process a request.
3838
* <p>
3939
* The {@link #error()} contains the error's type and reason along with
@@ -50,7 +50,7 @@ public OpenSearchException(ErrorResponse response) {
5050
}
5151

5252
/**
53-
* The error response sent by Elasticsearch
53+
* The error response sent by OpenSearch
5454
*/
5555
public ErrorResponse response() {
5656
return this.response;
@@ -64,7 +64,7 @@ public ErrorCause error() {
6464
}
6565

6666
/**
67-
* Status code returned by Elasticsearch. Shortcut for
67+
* Status code returned by OpenSearch. Shortcut for
6868
* {@code response().status()}.
6969
*/
7070
public int status() {

java-client/src/main/java/org/opensearch/client/opensearch/cluster/stats/ClusterNodes.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public final ClusterOperatingSystem os() {
161161
}
162162

163163
/**
164-
* Required - Contains statistics about Elasticsearch distributions installed on
164+
* Required - Contains statistics about OpenSearch distributions installed on
165165
* selected nodes.
166166
* <p>
167167
* API name: {@code packaging_types}
@@ -190,7 +190,7 @@ public final ClusterProcess process() {
190190
}
191191

192192
/**
193-
* Required - Array of Elasticsearch versions used on selected nodes.
193+
* Required - Array of OpenSearch versions used on selected nodes.
194194
* <p>
195195
* API name: {@code versions}
196196
*/
@@ -446,7 +446,7 @@ public final Builder os(Function<ClusterOperatingSystem.Builder, ObjectBuilder<C
446446
}
447447

448448
/**
449-
* Required - Contains statistics about Elasticsearch distributions installed on
449+
* Required - Contains statistics about OpenSearch distributions installed on
450450
* selected nodes.
451451
* <p>
452452
* API name: {@code packaging_types}
@@ -459,7 +459,7 @@ public final Builder packagingTypes(List<NodePackagingType> list) {
459459
}
460460

461461
/**
462-
* Required - Contains statistics about Elasticsearch distributions installed on
462+
* Required - Contains statistics about OpenSearch distributions installed on
463463
* selected nodes.
464464
* <p>
465465
* API name: {@code packaging_types}
@@ -472,7 +472,7 @@ public final Builder packagingTypes(NodePackagingType value, NodePackagingType..
472472
}
473473

474474
/**
475-
* Required - Contains statistics about Elasticsearch distributions installed on
475+
* Required - Contains statistics about OpenSearch distributions installed on
476476
* selected nodes.
477477
* <p>
478478
* API name: {@code packaging_types}
@@ -541,7 +541,7 @@ public final Builder process(Function<ClusterProcess.Builder, ObjectBuilder<Clus
541541
}
542542

543543
/**
544-
* Required - Array of Elasticsearch versions used on selected nodes.
544+
* Required - Array of OpenSearch versions used on selected nodes.
545545
* <p>
546546
* API name: {@code versions}
547547
* <p>
@@ -553,7 +553,7 @@ public final Builder versions(List<String> list) {
553553
}
554554

555555
/**
556-
* Required - Array of Elasticsearch versions used on selected nodes.
556+
* Required - Array of OpenSearch versions used on selected nodes.
557557
* <p>
558558
* API name: {@code versions}
559559
* <p>

java-client/src/main/java/org/opensearch/client/opensearch/core/GetRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public final Boolean realtime() {
180180
}
181181

182182
/**
183-
* If true, Elasticsearch refreshes the affected shards to make this operation
183+
* If true, OpenSearch refreshes the affected shards to make this operation
184184
* visible to search. If false, do nothing with refreshes.
185185
* <p>
186186
* API name: {@code refresh}
@@ -382,7 +382,7 @@ public final Builder realtime(@Nullable Boolean value) {
382382
}
383383

384384
/**
385-
* If true, Elasticsearch refreshes the affected shards to make this operation
385+
* If true, OpenSearch refreshes the affected shards to make this operation
386386
* visible to search. If false, do nothing with refreshes.
387387
* <p>
388388
* API name: {@code refresh}

java-client/src/main/java/org/opensearch/client/opensearch/core/GetSourceRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public final Boolean realtime() {
179179
}
180180

181181
/**
182-
* If true, Elasticsearch refreshes the affected shards to make this operation
182+
* If true, OpenSearch refreshes the affected shards to make this operation
183183
* visible to search. If false, do nothing with refreshes.
184184
* <p>
185185
* API name: {@code refresh}
@@ -379,7 +379,7 @@ public final Builder realtime(@Nullable Boolean value) {
379379
}
380380

381381
/**
382-
* If true, Elasticsearch refreshes the affected shards to make this operation
382+
* If true, OpenSearch refreshes the affected shards to make this operation
383383
* visible to search. If false, do nothing with refreshes.
384384
* <p>
385385
* API name: {@code refresh}

java-client/src/main/java/org/opensearch/client/opensearch/core/SearchRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ public final Suggester suggest() {
763763

764764
/**
765765
* Maximum number of documents to collect for each shard. If a query reaches
766-
* this limit, Elasticsearch terminates the query early. Elasticsearch collects
766+
* this limit, OpenSearch terminates the query early. OpenSearch collects
767767
* documents before sorting. Defaults to 0, which does not terminate query
768768
* execution early.
769769
* <p>
@@ -2027,7 +2027,7 @@ public final Builder suggest(Function<Suggester.Builder, ObjectBuilder<Suggester
20272027

20282028
/**
20292029
* Maximum number of documents to collect for each shard. If a query reaches
2030-
* this limit, Elasticsearch terminates the query early. Elasticsearch collects
2030+
* this limit, OpenSearch terminates the query early. OpenSearch collects
20312031
* documents before sorting. Defaults to 0, which does not terminate query
20322032
* execution early.
20332033
* <p>

java-client/src/main/java/org/opensearch/client/opensearch/core/UpdateRequest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ public final String lang() {
248248
}
249249

250250
/**
251-
* If 'true', Elasticsearch refreshes the affected shards to make this operation
251+
* If 'true', OpenSearch refreshes the affected shards to make this operation
252252
* visible to search, if 'wait_for' then wait for a refresh to make this
253253
* operation visible to search, if 'false' do nothing with refreshes.
254254
* <p>
@@ -312,7 +312,7 @@ public final Boolean scriptedUpsert() {
312312

313313
/**
314314
* Period to wait for dynamic mapping updates and active shards. This guarantees
315-
* Elasticsearch waits for at least the timeout before failing. The actual wait
315+
* OpenSearch waits for at least the timeout before failing. The actual wait
316316
* time could be longer, particularly when multiple waits occur.
317317
* <p>
318318
* API name: {@code timeout}
@@ -565,7 +565,7 @@ public final Builder<TDocument, TPartialDocument> lang(@Nullable String value) {
565565
}
566566

567567
/**
568-
* If 'true', Elasticsearch refreshes the affected shards to make this operation
568+
* If 'true', OpenSearch refreshes the affected shards to make this operation
569569
* visible to search, if 'wait_for' then wait for a refresh to make this
570570
* operation visible to search, if 'false' do nothing with refreshes.
571571
* <p>
@@ -638,7 +638,7 @@ public final Builder<TDocument, TPartialDocument> scriptedUpsert(@Nullable Boole
638638

639639
/**
640640
* Period to wait for dynamic mapping updates and active shards. This guarantees
641-
* Elasticsearch waits for at least the timeout before failing. The actual wait
641+
* OpenSearch waits for at least the timeout before failing. The actual wait
642642
* time could be longer, particularly when multiple waits occur.
643643
* <p>
644644
* API name: {@code timeout}
@@ -650,7 +650,7 @@ public final Builder<TDocument, TPartialDocument> timeout(@Nullable Time value)
650650

651651
/**
652652
* Period to wait for dynamic mapping updates and active shards. This guarantees
653-
* Elasticsearch waits for at least the timeout before failing. The actual wait
653+
* OpenSearch waits for at least the timeout before failing. The actual wait
654654
* time could be longer, particularly when multiple waits occur.
655655
* <p>
656656
* API name: {@code timeout}

java-client/src/main/java/org/opensearch/client/opensearch/indices/PutMappingRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public final FieldNamesField fieldNames() {
160160

161161
/**
162162
* A mapping type can have custom meta data associated with it. These are not
163-
* used at all by Elasticsearch, but can be used to store application-specific
163+
* used at all by OpenSearch, but can be used to store application-specific
164164
* metadata.
165165
* <p>
166166
* API name: {@code _meta}
@@ -513,7 +513,7 @@ public final Builder fieldNames(Function<FieldNamesField.Builder, ObjectBuilder<
513513

514514
/**
515515
* A mapping type can have custom meta data associated with it. These are not
516-
* used at all by Elasticsearch, but can be used to store application-specific
516+
* used at all by OpenSearch, but can be used to store application-specific
517517
* metadata.
518518
* <p>
519519
* API name: {@code _meta}
@@ -527,7 +527,7 @@ public final Builder meta(Map<String, JsonData> map) {
527527

528528
/**
529529
* A mapping type can have custom meta data associated with it. These are not
530-
* used at all by Elasticsearch, but can be used to store application-specific
530+
* used at all by OpenSearch, but can be used to store application-specific
531531
* metadata.
532532
* <p>
533533
* API name: {@code _meta}

java-client/src/main/java/org/opensearch/client/opensearch/indices/PutTemplateRequest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public final String name() {
199199
}
200200

201201
/**
202-
* Order in which Elasticsearch applies this template if index matches multiple
202+
* Order in which OpenSearch applies this template if index matches multiple
203203
* templates.
204204
* <p>
205205
* Templates with lower 'order' values are merged first. Templates with higher
@@ -231,7 +231,7 @@ public final Time timeout() {
231231

232232
/**
233233
* Version number used to manage index templates externally. This number is not
234-
* automatically generated by Elasticsearch.
234+
* automatically generated by OpenSearch.
235235
* <p>
236236
* API name: {@code version}
237237
*/
@@ -497,7 +497,7 @@ public final Builder name(String value) {
497497
}
498498

499499
/**
500-
* Order in which Elasticsearch applies this template if index matches multiple
500+
* Order in which OpenSearch applies this template if index matches multiple
501501
* templates.
502502
* <p>
503503
* Templates with lower 'order' values are merged first. Templates with higher
@@ -551,7 +551,7 @@ public final Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) {
551551

552552
/**
553553
* Version number used to manage index templates externally. This number is not
554-
* automatically generated by Elasticsearch.
554+
* automatically generated by OpenSearch.
555555
* <p>
556556
* API name: {@code version}
557557
*/

0 commit comments

Comments
 (0)