Elastic.Clients.Elasticsearch
8.16.0
Prefix Reserved
dotnet add package Elastic.Clients.Elasticsearch --version 8.16.0
NuGet\Install-Package Elastic.Clients.Elasticsearch -Version 8.16.0
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.16.0" />
paket add Elastic.Clients.Elasticsearch --version 8.16.0
#r "nuget: Elastic.Clients.Elasticsearch, 8.16.0"
// Install Elastic.Clients.Elasticsearch as a Cake Addin #addin nuget:?package=Elastic.Clients.Elasticsearch&version=8.16.0 // Install Elastic.Clients.Elasticsearch as a Cake Tool #tool nuget:?package=Elastic.Clients.Elasticsearch&version=8.16.0
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.).
Compatibility
Language clients are forward compatible; meaning that the clients support communicating with greater or equal minor versions of Elasticsearch without breaking. It does not mean that the clients automatically support new features of newer Elasticsearch versions; it is only possible after a release of a new client version. For example, a 8.12 client version won't automatically support the new features of the 8.13 version of Elasticsearch, the 8.13 client version is required for that. Elasticsearch language clients are only backwards compatible with default distributions and without guarantees made.
Elasticsearch Version | Elasticsearch-NET Branch | Supported |
---|---|---|
main | main | |
8.x | 8.x | 8.x |
7.x | 7.x | 7.17 |
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.
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. |
.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 is compatible. |
.NET Framework | net461 was computed. net462 is compatible. 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. |
-
.NETFramework 4.6.2
- Elastic.Transport (>= 0.5.2)
- Microsoft.NETFramework.ReferenceAssemblies (>= 1.0.2)
-
.NETStandard 2.0
- Elastic.Transport (>= 0.5.2)
-
.NETStandard 2.1
- Elastic.Transport (>= 0.5.2)
-
net8.0
- Elastic.Transport (>= 0.5.2)
NuGet packages (58)
Showing the top 5 NuGet packages that depend on Elastic.Clients.Elasticsearch:
Package | Downloads |
---|---|
Audit.NET.Elasticsearch
Store Audit.NET Trail Logs into Elasticsearch database |
|
Spiel.Infrastructure
Package Description |
|
Spiel.Shared
Package Description |
|
Microsoft.KernelMemory.MemoryDb.Elasticsearch
Elasticsearch connector for Microsoft Kernel Memory, to store and search memory using Elasticsearch vector search and other Elasticsearch features. |
|
TripleSix.Core
Package Description |
GitHub repositories (14)
Showing the top 5 popular GitHub repositories that depend on Elastic.Clients.Elasticsearch:
Repository | Stars |
---|---|
elsa-workflows/elsa-core
A .NET workflows library
|
|
Xabaril/AspNetCore.Diagnostics.HealthChecks
Enterprise HealthChecks for ASP.NET Core Diagnostics Package
|
|
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
|
|
testcontainers/testcontainers-dotnet
A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
|
|
ravendb/ravendb
ACID Document Database
|
Version | Downloads | Last updated |
---|---|---|
8.16.0 | 0 | 11/19/2024 |
8.15.10 | 64,734 | 10/16/2024 |
8.15.9 | 13,614 | 10/11/2024 |
8.15.8 | 73,552 | 9/30/2024 |
8.15.7 | 3,534 | 9/27/2024 |
8.15.6 | 129,286 | 9/5/2024 |
8.15.5 | 51,906 | 8/30/2024 |
8.15.4 | 20,571 | 8/28/2024 |
8.15.3 | 8,203 | 8/27/2024 |
8.15.2 | 41,751 | 8/19/2024 |
8.15.1 | 25,058 | 8/13/2024 |
8.15.0 | 24,566 | 8/8/2024 |
8.14.8 | 62,041 | 8/2/2024 |
8.14.7 | 16,944 | 7/29/2024 |
8.14.6 | 89,836 | 7/10/2024 |
8.14.5 | 5,494 | 7/10/2024 |
8.14.4 | 63,395 | 7/1/2024 |
8.14.3 | 56,915 | 6/20/2024 |
8.14.2 | 35,135 | 6/13/2024 |
8.14.1 | 9,583 | 6/11/2024 |
8.14.0 | 40,961 | 6/6/2024 |
8.13.15 | 46,486 | 5/29/2024 |
8.13.14 | 5,220 | 5/29/2024 |
8.13.13 | 15,150 | 5/28/2024 |
8.13.12 | 146,381 | 5/2/2024 |
8.13.11 | 27,171 | 4/27/2024 |
8.13.10 | 31,827 | 4/24/2024 |
8.13.9 | 42,376 | 4/22/2024 |
8.13.8 | 16,786 | 4/18/2024 |
8.13.7 | 7,913 | 4/17/2024 |
8.13.6 | 8,691 | 4/16/2024 |
8.13.5 | 40,114 | 4/9/2024 |
8.13.4 | 2,558 | 4/9/2024 |
8.13.3 | 6,946 | 4/5/2024 |
8.13.2 | 864 | 4/5/2024 |
8.13.1 | 5,419 | 4/4/2024 |
8.13.0 | 3,018 | 4/3/2024 |
8.12.1 | 111,378 | 3/25/2024 |
8.12.0 | 522,828 | 1/30/2024 |
8.11.0 | 713,638 | 11/15/2023 |
8.10.0 | 231,953 | 10/4/2023 |
8.9.3 | 120,666 | 9/14/2023 |
8.9.2 | 101,481 | 8/15/2023 |
8.9.1 | 80,413 | 7/31/2023 |
8.9.0 | 62,266 | 7/25/2023 |
8.1.3 | 46,500 | 7/12/2023 |
8.1.2 | 22,323 | 7/10/2023 |
8.1.1 | 276,561 | 5/5/2023 |
8.1.0 | 81,599 | 4/12/2023 |
8.0.10 | 14,464 | 4/5/2023 |
8.0.9 | 60,121 | 4/4/2023 |
8.0.8 | 28,992 | 3/24/2023 |
8.0.7 | 14,910 | 3/15/2023 |
8.0.6 | 24,276 | 3/7/2023 |
8.0.5 | 129,963 | 1/27/2023 |
8.0.4 | 87,134 | 12/21/2022 |
8.0.3 | 14,092 | 12/14/2022 |
8.0.2 | 7,508 | 12/6/2022 |
8.0.1 | 20,550 | 11/24/2022 |
8.0.0 | 121,088 | 11/23/2022 |
8.0.0-rc.2 | 5,604 | 11/10/2022 |
8.0.0-rc.1 | 8,892 | 10/18/2022 |
8.0.0-beta.6 | 3,990 | 10/10/2022 |
8.0.0-beta.5 | 4,461 | 9/29/2022 |
8.0.0-beta.4 | 26,055 | 7/29/2022 |
8.0.0-beta.3 | 3,236 | 7/27/2022 |
8.0.0-beta.2 | 5,797 | 7/21/2022 |
8.0.0-beta.1 | 1,715 | 7/11/2022 |
8.0.0-alpha.11 | 1,584 | 6/16/2022 |
8.0.0-alpha.10 | 9,742 | 5/26/2022 |
8.0.0-alpha.9 | 5,425 | 5/3/2022 |
8.0.0-alpha.8 | 380 | 4/26/2022 |
8.0.0-alpha.7 | 1,737 | 4/20/2022 |
8.0.0-alpha.6 | 200 | 4/19/2022 |
8.0.0-alpha.5 | 24,354 | 4/11/2022 |
8.0.0-alpha.4 | 896 | 3/28/2022 |
8.0.0-alpha.3 | 299 | 3/22/2022 |
8.0.0-alpha.2 | 148 | 3/17/2022 |
8.0.0-alpha.1 | 446 | 1/26/2022 |