# elastic/elasticsearch-net

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

Repository: https://github.com/elastic/elasticsearch-net
Canonical: https://ross.abutalabs.com/products/elasticsearch-net
Homepage: https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/index.html
Language: C#
License: Apache-2.0
License Family: permissive
Topics: elasticsearch, nest, c-sharp, dot-net, dot-net-client, elasticsearch-net, client
Last push: 2026-08-14T10:37:04+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 97, release rhythm 84, longevity 100
- inputs: {"age_days": 5819, "days_push": 19, "days_rel": 29, "gap_med": 2.0, "n_releases_24m": 91}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3650, forks 1134 (observed 2026-08-28T04:08:13.020628+00:00)

## What it is
The official, strongly-typed .NET client library for Elasticsearch, maintained by Elastic. It provides typed requests and responses for Elasticsearch APIs and delegates transport concerns like connection pooling and retries to Elastic.Transport.

## Use cases
- query elasticsearch from a c# application
- index and search documents in elasticsearch using .net
- official elasticsearch client for dotnet
- strongly typed elasticsearch api requests in c#
- connect .net app to elastic cloud
- manage elasticsearch indices from c# code

## When to choose
- you are building a .NET application that talks to Elasticsearch
- you want an officially supported client with strongly typed requests and responses
- you need compatibility with Elasticsearch 8.x/9.x from C#

## When to avoid
- you use a language other than C#/.NET
- you need strict semantic versioning, since the client follows Elasticsearch versioning with possible breaking changes
- you need backward compatibility with earlier Elasticsearch major versions

## Facets
- artifact type: library
- maturity: active
- function: database-driver, search-engine, http-client, serialization
- domain: databases, developer-tools, apis
- platform: dotnet, c, cross-platform
- tags: elasticsearch, official-client, strongly-typed, csharp, elastic, search

## Member repositories
- elastic/elasticsearch-net (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:13.020628+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:31:41.756138+00:00, confidence not recorded.
  - readme: https://github.com/elastic/elasticsearch-net (fetched 2026-08-28T04:08:13.020628+00:00, sha 28ed9727bf90)
- Data as of 2026-08-30T08:39:29.467469+00:00.
