Elastic.Clients.Elasticsearch
8.16.2
Prefix Reserved
See the version list below for details.
dotnet add package Elastic.Clients.Elasticsearch --version 8.16.2
NuGet\Install-Package Elastic.Clients.Elasticsearch -Version 8.16.2
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.16.2" />
paket add Elastic.Clients.Elasticsearch --version 8.16.2
#r "nuget: Elastic.Clients.Elasticsearch, 8.16.2"
// Install Elastic.Clients.Elasticsearch as a Cake Addin #addin nuget:?package=Elastic.Clients.Elasticsearch&version=8.16.2 // Install Elastic.Clients.Elasticsearch as a Cake Tool #tool nuget:?package=Elastic.Clients.Elasticsearch&version=8.16.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.).
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.
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. |
.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.6)
- Microsoft.NETFramework.ReferenceAssemblies (>= 1.0.2)
-
.NETStandard 2.0
- Elastic.Transport (>= 0.5.6)
-
.NETStandard 2.1
- Elastic.Transport (>= 0.5.6)
-
net8.0
- Elastic.Transport (>= 0.5.6)
NuGet packages (63)
Showing the top 5 NuGet packages that depend on Elastic.Clients.Elasticsearch:
Package | Downloads |
---|---|
AspNetCore.HealthChecks.Elasticsearch
HealthChecks.Elasticsearch is the health check package for Elasticsearch. |
|
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. |
GitHub repositories (18)
Showing the top 5 popular GitHub repositories that depend on Elastic.Clients.Elasticsearch:
Repository | Stars |
---|---|
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
|
|
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.
|
Version | Downloads | Last updated |
---|---|---|
8.16.3 | 41,850 | 11/28/2024 |
8.16.2 | 11,896 | 11/26/2024 |
8.16.1 | 9,195 | 11/21/2024 |
8.16.0 | 19,039 | 11/19/2024 |
8.15.10 | 141,483 | 10/16/2024 |
8.15.9 | 19,677 | 10/11/2024 |
8.15.8 | 101,167 | 9/30/2024 |
8.15.7 | 5,125 | 9/27/2024 |
8.15.6 | 187,135 | 9/5/2024 |
8.15.5 | 71,480 | 8/30/2024 |
8.15.4 | 27,579 | 8/28/2024 |
8.15.3 | 10,139 | 8/27/2024 |
8.15.2 | 50,015 | 8/19/2024 |
8.15.1 | 30,424 | 8/13/2024 |
8.15.0 | 29,301 | 8/8/2024 |
8.14.8 | 70,161 | 8/2/2024 |
8.14.7 | 19,756 | 7/29/2024 |
8.14.6 | 105,237 | 7/10/2024 |
8.14.5 | 6,105 | 7/10/2024 |
8.14.4 | 75,084 | 7/1/2024 |
8.14.3 | 66,570 | 6/20/2024 |
8.14.2 | 38,842 | 6/13/2024 |
8.14.1 | 10,433 | 6/11/2024 |
8.14.0 | 46,171 | 6/6/2024 |
8.13.15 | 50,949 | 5/29/2024 |
8.13.14 | 5,292 | 5/29/2024 |
8.13.13 | 16,654 | 5/28/2024 |
8.13.12 | 162,429 | 5/2/2024 |
8.13.11 | 30,062 | 4/27/2024 |
8.13.10 | 36,207 | 4/24/2024 |
8.13.9 | 48,047 | 4/22/2024 |
8.13.8 | 18,871 | 4/18/2024 |
8.13.7 | 9,627 | 4/17/2024 |
8.13.6 | 9,473 | 4/16/2024 |
8.13.5 | 41,957 | 4/9/2024 |
8.13.4 | 2,693 | 4/9/2024 |
8.13.3 | 7,022 | 4/5/2024 |
8.13.2 | 911 | 4/5/2024 |
8.13.1 | 5,464 | 4/4/2024 |
8.13.0 | 3,476 | 4/3/2024 |
8.12.1 | 129,597 | 3/25/2024 |
8.12.0 | 569,423 | 1/30/2024 |
8.11.0 | 756,618 | 11/15/2023 |
8.10.0 | 243,025 | 10/4/2023 |
8.9.3 | 130,447 | 9/14/2023 |
8.9.2 | 105,259 | 8/15/2023 |
8.9.1 | 85,028 | 7/31/2023 |
8.9.0 | 108,500 | 7/25/2023 |
8.1.3 | 49,547 | 7/12/2023 |
8.1.2 | 25,316 | 7/10/2023 |
8.1.1 | 287,951 | 5/5/2023 |
8.1.0 | 85,522 | 4/12/2023 |
8.0.10 | 14,642 | 4/5/2023 |
8.0.9 | 63,493 | 4/4/2023 |
8.0.8 | 30,567 | 3/24/2023 |
8.0.7 | 15,071 | 3/15/2023 |
8.0.6 | 24,912 | 3/7/2023 |
8.0.5 | 131,900 | 1/27/2023 |
8.0.4 | 89,156 | 12/21/2022 |
8.0.3 | 14,455 | 12/14/2022 |
8.0.2 | 8,125 | 12/6/2022 |
8.0.1 | 20,761 | 11/24/2022 |
8.0.0 | 126,385 | 11/23/2022 |
8.0.0-rc.2 | 5,764 | 11/10/2022 |
8.0.0-rc.1 | 8,976 | 10/18/2022 |
8.0.0-beta.6 | 4,041 | 10/10/2022 |
8.0.0-beta.5 | 4,466 | 9/29/2022 |
8.0.0-beta.4 | 26,557 | 7/29/2022 |
8.0.0-beta.3 | 3,247 | 7/27/2022 |
8.0.0-beta.2 | 6,124 | 7/21/2022 |
8.0.0-beta.1 | 1,737 | 7/11/2022 |
8.0.0-alpha.11 | 1,590 | 6/16/2022 |
8.0.0-alpha.10 | 10,123 | 5/26/2022 |
8.0.0-alpha.9 | 5,438 | 5/3/2022 |
8.0.0-alpha.8 | 385 | 4/26/2022 |
8.0.0-alpha.7 | 1,743 | 4/20/2022 |
8.0.0-alpha.6 | 205 | 4/19/2022 |
8.0.0-alpha.5 | 24,401 | 4/11/2022 |
8.0.0-alpha.4 | 925 | 3/28/2022 |
8.0.0-alpha.3 | 304 | 3/22/2022 |
8.0.0-alpha.2 | 153 | 3/17/2022 |
8.0.0-alpha.1 | 453 | 1/26/2022 |