Elastic.Clients.Elasticsearch
8.15.3
Prefix Reserved
See the version list below for details.
dotnet add package Elastic.Clients.Elasticsearch --version 8.15.3
NuGet\Install-Package Elastic.Clients.Elasticsearch -Version 8.15.3
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.15.3" />
paket add Elastic.Clients.Elasticsearch --version 8.15.3
#r "nuget: Elastic.Clients.Elasticsearch, 8.15.3"
// Install Elastic.Clients.Elasticsearch as a Cake Addin #addin nuget:?package=Elastic.Clients.Elasticsearch&version=8.15.3 // Install Elastic.Clients.Elasticsearch as a Cake Tool #tool nuget:?package=Elastic.Clients.Elasticsearch&version=8.15.3
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 is compatible. 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.4.22)
-
.NETStandard 2.0
- Elastic.Transport (>= 0.4.22)
-
.NETStandard 2.1
- Elastic.Transport (>= 0.4.22)
-
net6.0
- Elastic.Transport (>= 0.4.22)
-
net8.0
- Elastic.Transport (>= 0.4.22)
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.1 | 1,816 | 11/21/2024 |
8.16.0 | 5,108 | 11/19/2024 |
8.15.10 | 80,105 | 10/16/2024 |
8.15.9 | 14,624 | 10/11/2024 |
8.15.8 | 78,555 | 9/30/2024 |
8.15.7 | 3,732 | 9/27/2024 |
8.15.6 | 139,754 | 9/5/2024 |
8.15.5 | 55,066 | 8/30/2024 |
8.15.4 | 21,734 | 8/28/2024 |
8.15.3 | 8,513 | 8/27/2024 |
8.15.2 | 42,845 | 8/19/2024 |
8.15.1 | 25,890 | 8/13/2024 |
8.15.0 | 25,087 | 8/8/2024 |
8.14.8 | 63,587 | 8/2/2024 |
8.14.7 | 17,176 | 7/29/2024 |
8.14.6 | 93,018 | 7/10/2024 |
8.14.5 | 5,578 | 7/10/2024 |
8.14.4 | 65,456 | 7/1/2024 |
8.14.3 | 58,278 | 6/20/2024 |
8.14.2 | 35,765 | 6/13/2024 |
8.14.1 | 9,725 | 6/11/2024 |
8.14.0 | 41,853 | 6/6/2024 |
8.13.15 | 47,183 | 5/29/2024 |
8.13.14 | 5,230 | 5/29/2024 |
8.13.13 | 15,521 | 5/28/2024 |
8.13.12 | 148,888 | 5/2/2024 |
8.13.11 | 27,544 | 4/27/2024 |
8.13.10 | 32,809 | 4/24/2024 |
8.13.9 | 43,119 | 4/22/2024 |
8.13.8 | 17,231 | 4/18/2024 |
8.13.7 | 8,146 | 4/17/2024 |
8.13.6 | 8,864 | 4/16/2024 |
8.13.5 | 40,426 | 4/9/2024 |
8.13.4 | 2,581 | 4/9/2024 |
8.13.3 | 6,965 | 4/5/2024 |
8.13.2 | 869 | 4/5/2024 |
8.13.1 | 5,426 | 4/4/2024 |
8.13.0 | 3,083 | 4/3/2024 |
8.12.1 | 114,139 | 3/25/2024 |
8.12.0 | 530,462 | 1/30/2024 |
8.11.0 | 720,812 | 11/15/2023 |
8.10.0 | 233,788 | 10/4/2023 |
8.9.3 | 122,386 | 9/14/2023 |
8.9.2 | 102,182 | 8/15/2023 |
8.9.1 | 81,101 | 7/31/2023 |
8.9.0 | 70,683 | 7/25/2023 |
8.1.3 | 47,160 | 7/12/2023 |
8.1.2 | 22,741 | 7/10/2023 |
8.1.1 | 278,302 | 5/5/2023 |
8.1.0 | 82,065 | 4/12/2023 |
8.0.10 | 14,502 | 4/5/2023 |
8.0.9 | 60,639 | 4/4/2023 |
8.0.8 | 29,290 | 3/24/2023 |
8.0.7 | 14,944 | 3/15/2023 |
8.0.6 | 24,376 | 3/7/2023 |
8.0.5 | 130,330 | 1/27/2023 |
8.0.4 | 87,555 | 12/21/2022 |
8.0.3 | 14,147 | 12/14/2022 |
8.0.2 | 7,612 | 12/6/2022 |
8.0.1 | 20,578 | 11/24/2022 |
8.0.0 | 122,010 | 11/23/2022 |
8.0.0-rc.2 | 5,638 | 11/10/2022 |
8.0.0-rc.1 | 8,927 | 10/18/2022 |
8.0.0-beta.6 | 4,013 | 10/10/2022 |
8.0.0-beta.5 | 4,464 | 9/29/2022 |
8.0.0-beta.4 | 26,112 | 7/29/2022 |
8.0.0-beta.3 | 3,239 | 7/27/2022 |
8.0.0-beta.2 | 5,823 | 7/21/2022 |
8.0.0-beta.1 | 1,728 | 7/11/2022 |
8.0.0-alpha.11 | 1,587 | 6/16/2022 |
8.0.0-alpha.10 | 9,817 | 5/26/2022 |
8.0.0-alpha.9 | 5,428 | 5/3/2022 |
8.0.0-alpha.8 | 383 | 4/26/2022 |
8.0.0-alpha.7 | 1,740 | 4/20/2022 |
8.0.0-alpha.6 | 203 | 4/19/2022 |
8.0.0-alpha.5 | 24,359 | 4/11/2022 |
8.0.0-alpha.4 | 899 | 3/28/2022 |
8.0.0-alpha.3 | 302 | 3/22/2022 |
8.0.0-alpha.2 | 151 | 3/17/2022 |
8.0.0-alpha.1 | 449 | 1/26/2022 |