Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove features API not supported by OpenSearch #331

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### Fixed
- Fix highlight max_analyzer_offset field name to match with the one introduced in OpenSearch 2.2.0 ([#322](https://github.com/opensearch-project/opensearch-net/pull/322))

### Removed
- Removed the `Features` API which is not supported by OpenSearch from the low-level client ([#331](https://github.com/opensearch-project/opensearch-net/pull/331))

### Dependencies
- Bumps `Microsoft.CodeAnalysis.CSharp` from 4.2.0 to 4.6.0
- Bumps `Microsoft.TestPlatform.ObjectModel` from 17.5.0 to 17.7.1
Expand Down Expand Up @@ -91,4 +94,4 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

[Unreleased]: https://github.com/opensearch-project/opensearch-net/compare/v1.4.0...main
[1.4.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.3.0...v1.4.0
[1.3.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.2.0...v1.3.0
[1.3.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.2.0...v1.3.0

This file was deleted.

7 changes: 0 additions & 7 deletions src/OpenSearch.Net/IOpenSearchLowLevelClient.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
using OpenSearch.Net.Specification.CatApi;
using OpenSearch.Net.Specification.ClusterApi;
using OpenSearch.Net.Specification.DanglingIndicesApi;
using OpenSearch.Net.Specification.FeaturesApi;
using OpenSearch.Net.Specification.IndicesApi;
using OpenSearch.Net.Specification.IngestApi;
using OpenSearch.Net.Specification.NodesApi;
Expand Down Expand Up @@ -85,12 +84,6 @@ LowLevelDanglingIndicesNamespace DanglingIndices
get;
}

///<summary>Features APIs</summary>
LowLevelFeaturesNamespace Features
{
get;
}

///<summary>Indices APIs</summary>
LowLevelIndicesNamespace Indices
{
Expand Down
83 changes: 0 additions & 83 deletions src/OpenSearch.Net/OpenSearchLowLevelClient.Features.cs

This file was deleted.

8 changes: 0 additions & 8 deletions src/OpenSearch.Net/OpenSearchLowLevelClient.NoNamespace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
using OpenSearch.Net.Specification.CatApi;
using OpenSearch.Net.Specification.ClusterApi;
using OpenSearch.Net.Specification.DanglingIndicesApi;
using OpenSearch.Net.Specification.FeaturesApi;
using OpenSearch.Net.Specification.IndicesApi;
using OpenSearch.Net.Specification.IngestApi;
using OpenSearch.Net.Specification.NodesApi;
Expand Down Expand Up @@ -88,12 +87,6 @@ public LowLevelDanglingIndicesNamespace DanglingIndices
private set;
}

public LowLevelFeaturesNamespace Features
{
get;
private set;
}

public LowLevelIndicesNamespace Indices
{
get;
Expand Down Expand Up @@ -123,7 +116,6 @@ partial void SetupNamespaces()
Cat = new LowLevelCatNamespace(this);
Cluster = new LowLevelClusterNamespace(this);
DanglingIndices = new LowLevelDanglingIndicesNamespace(this);
Features = new LowLevelFeaturesNamespace(this);
Indices = new LowLevelIndicesNamespace(this);
Ingest = new LowLevelIngestNamespace(this);
Nodes = new LowLevelNodesNamespace(this);
Expand Down
Loading