Dnet.Elastic.Clients.Elasticsearch
8.19.6.2
dotnet add package Dnet.Elastic.Clients.Elasticsearch --version 8.19.6.2
NuGet\Install-Package Dnet.Elastic.Clients.Elasticsearch -Version 8.19.6.2
<PackageReference Include="Dnet.Elastic.Clients.Elasticsearch" Version="8.19.6.2" />
<PackageVersion Include="Dnet.Elastic.Clients.Elasticsearch" Version="8.19.6.2" />
<PackageReference Include="Dnet.Elastic.Clients.Elasticsearch" />
paket add Dnet.Elastic.Clients.Elasticsearch --version 8.19.6.2
#r "nuget: Dnet.Elastic.Clients.Elasticsearch, 8.19.6.2"
#:package Dnet.Elastic.Clients.Elasticsearch@8.19.6.2
#addin nuget:?package=Dnet.Elastic.Clients.Elasticsearch&version=8.19.6.2
#tool nuget:?package=Dnet.Elastic.Clients.Elasticsearch&version=8.19.6.2
Elasticsearch .NET Client
Repository for Elastic.Clients.Elasticsearch the official .NET client for Elasticsearch. Older branches include both previous clients, NEST and Elasticsearch.Net.
Download the latest version of Elasticsearch or sign-up for a free trial of Elastic Cloud.
The .NET client for Elasticsearch provides strongly typed requests and responses for Elasticsearch APIs. It delegates protocol handling to the Elastic.Transport library, which takes care of all transport-level concerns (HTTP connection establishment and pooling, retries, etc.).
Versioning
The major and minor version parts of the Elasticsearch .NET client are dictated by the version of the Elasticsearch server.
This means that the Elasticsearch .NET client does not strictly follows semantic versioning!
Although we try to avoid this as much as possible, it can happen that a minor or even patch version contains breaking changes (see also: breaking changes policy). Please always check the release notes before updating the client package.
Compatibility
Language clients are forward compatible:
Given a constant major version of the client, each related minor version is compatible with its equivalent- and all later Elasticsearch minor versions of the same or next higher major version.
For example:
| Client Version | Compatible with Elasticsearch 7.x |
Compatible with Elasticsearch 8.x |
Compatible with Elasticsearch 9.x |
|---|---|---|---|
| 8.x | ❌ no | ✅ yes | ✅ yes |
| 7.x | ✅ yes | ✅ yes | ❌ no |
Language clients are also backward compatible across minor versions within the same major version (without strong guarantees), but never backward compatible with earlier Elasticsearch major versions.
Compatibility does not imply feature parity. For example, an 8.12 client is compatible with 8.13, but does not support any of the new features introduced in Elasticsearch 8.13.
Installation
Refer to the Installation section of the getting started documentation.
Connecting
Refer to the Connecting section of the getting started documentation.
Usage
- Creating an index
- Indexing a document
- Getting documents
- Searching documents
- Updating documents
- Deleting documents
- Deleting an index
Documentation
Please refer to the full documentation on elastic.co for comprehensive information on installation, configuration and usage.
The API reference documentation is available here.
Versions
Elasticsearch 8.x Clusters
We have released the next generation of the .NET client for Elasticsearch, which
aligns with v8 of Elasticsearch. We have renamed this library
Elastic.Clients.Elasticsearch, and the packages are published on
NuGet. The
8.0.x versions do not offer complete feature parity with the existing NEST
client. We therefore recommend you thoroughly review our
release notes and migration guidance
before attempting to migrate existing applications to the
Elastic.Clients.Elasticsearch library.
Until the new client supports all endpoints and features your application
requires, you may continue to use the latest 7.17.x client to communicate with
Elasticsearch v8 servers. Please review
our documentation,
which describes how to enable compatibility mode and secure communications with
a v8 cluster.
Elasticsearch 7.x Clusters
We recommend using the latest 7.17.x
NEST client to communicate with
Elasticsearch v7 servers.
Contributing
See CONTRIBUTING.md
Copyright and License
This software is Copyright (c) 2014-2022 by Elasticsearch BV.
This is free software, licensed under The Apache License Version 2.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Elastic.Transport (>= 0.10.1)
-
net8.0
- Elastic.Transport (>= 0.10.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.