Skip to content

Commit 479dd4b

Browse files
nknizepeternied
authored andcommitted
[PURIFY] remove all trace of x-pack async-search (opensearch-project#10)
This commit removes all trace of Elastic licensed asyc-search Signed-off-by: Peter Nied <petern@amazon.com>
1 parent 204122a commit 479dd4b

14 files changed

+0
-1452
lines changed

client/rest-high-level/src/main/java/org/elasticsearch/client/AsyncSearchClient.java

-120
This file was deleted.

client/rest-high-level/src/main/java/org/elasticsearch/client/AsyncSearchRequestConverters.java

-105
This file was deleted.

client/rest-high-level/src/main/java/org/elasticsearch/client/RestHighLevelClient.java

-11
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ public class RestHighLevelClient implements Closeable {
271271
private final RollupClient rollupClient = new RollupClient(this);
272272
private final CcrClient ccrClient = new CcrClient(this);
273273
private final TransformClient transformClient = new TransformClient(this);
274-
private final AsyncSearchClient asyncSearchClient = new AsyncSearchClient(this);
275274

276275
/**
277276
* Creates a {@link RestHighLevelClient} given the low level {@link RestClientBuilder} that allows to build the
@@ -442,16 +441,6 @@ public IndexLifecycleClient indexLifecycle() {
442441
return ilmClient;
443442
}
444443

445-
/**
446-
* A wrapper for the {@link RestHighLevelClient} that provides methods for accessing the Elastic Index Async Search APIs.
447-
* <p>
448-
* See the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html"> X-Pack APIs on elastic.co</a>
449-
* for more information.
450-
*/
451-
public AsyncSearchClient asyncSearch() {
452-
return asyncSearchClient;
453-
}
454-
455444
/**
456445
* Provides methods for accessing the Elastic Licensed Migration APIs that
457446
* are shipped with the default distribution of Elasticsearch. All of

0 commit comments

Comments
 (0)