Skip to main content
.NETFramework4.6.2net6.0net8.0.NETStandard2.0.NETStandard2.1

This strongly-typed, client library enables working with Elasticsearch Serverless. It is the official client maintained and supported by Elastic.

Published
Aug 28, 2024
2y ago
Total Downloads
8.5K
8,480

Deprecated Package Version

Reason: Legacy

Suggested alternative:Elastic.Clients.Elasticsearch*

Install

dotnet add package Elastic.Clients.Elasticsearch.Serverless --version 1.1.8
ProductVersions
.NET
net6.0net8.0
.NET Standard
netstandard2.0netstandard2.1
Other
.NETFramework4.6.2

README

Repository for Elastic.Clients.Elasticsearch the official .NET client for Elasticsearch. Older branches include both previous clients, NEST and Elasticsearch.Net.

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 clients support communicating with greater or equal minor versions of Elasticsearch. Elasticsearch language clients are only backwards compatible with default distributions and without guarantees made.

Installation

Refer to the Installation section of the getting started documentation.

Connecting

Refer to the Connecting section of the getting started documentation.

Usage

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.

Changes from Previous Version

No structural changes between v1.1.7 and v1.1.8.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

NuGet marks this package as deprecated and points to Elastic.Clients.Elasticsearch as an alternative.Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.