OpenSearch .NET Client
opensearch-net is a community-driven, open source fork of elasticsearch-net licensed under the Apache v2.0 License. For more information, see opensearch.org.
OSC is a community-driven, open source fork of elasticsearch-net high level client NEST licensed under the Apache v2.0 License. For more information, see opensearch.org.
- Project Website
- Downloads.
- Documentation
- Need help? Try Forums
- Project Principles
- Contributing to OpenSearch
- Maintainer Responsibilities
- Release Management
- Admin Responsibilities
- Security
OSC is the official high-level .NET client of OpenSearch.
Include OSC in your .csproj file.
<Project>
...
<ItemGroup>
<ProjectReference Include="..\opensearch-net\src\Osc\Osc.csproj" />
</ItemGroup>
</Project>
Connecting to a single node
var node = new Uri("http://myserver:9200");
var settings = new ConnectionSettings(node);
var client = new OpenSearchClient(settings);
A low-level, dependency free client that has no opinions how you build and represent your requests and responses.
Include OpenSearch.Net in your .csproj file.
<Project>
...
<ItemGroup>
<ProjectReference Include="..\opensearch-net\src\OpenSearch.Net\OpenSearch.Net.csproj" />
</ItemGroup>
</Project>
Connecting
var node = new Uri("http://myserver:9200");
var config = new ConnectionConfiguration(node);
var client = new OpenSearchLowLevelClient(config);
This project has adopted the Amazon Open Source Code of Conduct. For more information see the Code of Conduct FAQ, or contact [email protected] with any additional questions or comments.
This project is licensed under the Apache v2.0 License.
Copyright OpenSearch Contributors. See NOTICE for details.