Skip to content

Commit

Permalink
Remove HLRC's SearchableSnapshotsClient (#85472)
Browse files Browse the repository at this point in the history
This commit removes this sub-client as part of the work to remove the HLRC entirely.

Relates to #83423
  • Loading branch information
dakrone committed Mar 30, 2022
1 parent 42b0b39 commit 5da038b
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 605 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ public class RestHighLevelClient implements Closeable {
private final SecurityClient securityClient = new SecurityClient(this);
private final TransformClient transformClient = new TransformClient(this);
private final EqlClient eqlClient = new EqlClient(this);
private final SearchableSnapshotsClient searchableSnapshotsClient = new SearchableSnapshotsClient(this);

/**
* Creates a {@link RestHighLevelClient} given the low level {@link RestClientBuilder} that allows to build the
Expand Down Expand Up @@ -378,16 +377,6 @@ public final SnapshotClient snapshot() {
return snapshotClient;
}

/**
* A wrapper for the {@link RestHighLevelClient} that provides methods for accessing the Searchable Snapshots APIs.
* <p>
* See the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-apis.html">Searchable Snapshots
* APIs on elastic.co</a> for more information.
*/
public SearchableSnapshotsClient searchableSnapshots() {
return searchableSnapshotsClient;
}

/**
* Provides methods for accessing the Elastic Licensed Security APIs that
* are shipped with the Elastic Stack distribution of Elasticsearch. All of
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 5da038b

Please sign in to comment.