- Notifications
You must be signed in to change notification settings - Fork1.2k
This strongly-typed, client library enables working with Elasticsearch. It is the official client maintained and supported by Elastic.
License
elastic/elasticsearch-net
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Repository forElastic.Clients.Elasticsearch the official .NET client forElasticsearch.
Download the latest version of Elasticsearchorsign-upfor a free trial of Elastic Cloud.
The .NET client for Elasticsearch provides strongly typed requests and responsesfor Elasticsearch APIs. It delegates protocol handling to theElastic.Transport library,which takes care of all transport-level concerns (HTTP connection establishmentand pooling, retries, etc.).
Themajor andminor version parts of the Elasticsearch .NET client are dictated by the version of the Elasticsearch server.
Warning
This means that the Elasticsearch .NET clientdoes not strictly follows semantic versioning!
Although we try to avoid this as much as possible, it can happen that aminor or evenpatch version contains breaking changes (see also:breaking changes policy). Please always check therelease notes before updating the client package.
Language clients areforward 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 thesame or next higher major version.
For example:
Client Version | Compatible with Elasticsearch8.x | Compatible with Elasticsearch9.x | Compatible with Elasticsearch10.x |
---|---|---|---|
9.x | ❌ no | ✅ yes | ✅ yes |
8.x | ✅ yes | ✅ yes | ❌ no |
Language clients are alsobackward compatible across minor versions within thesame major version (without strong guarantees), butnever backward compatible with earlier Elasticsearch major versions.
Note
Compatibility does not imply feature parity. For example, an8.12
client is compatible with8.13
, but does not support any of the new features introduced in Elasticsearch8.13
.
Refer to theInstallation sectionof the getting started documentation.
Refer to theConnecting sectionof the getting started documentation.
- Creating an index
- Indexing a document
- Getting documents
- Searching documents
- Updating documents
- Deleting documents
- Deleting an index
Please refer tothe full documentation on elastic.cofor comprehensive information on installation, configuration and usage.
The API reference documentation is availablehere.
This software is Copyright (c) 2014-2025 by Elasticsearch BV.
This is free software, licensed underThe Apache License Version 2.0.
About
This strongly-typed, client library enables working with Elasticsearch. It is the official client maintained and supported by Elastic.
Topics
Resources
License
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.