# elasticsearch-net
**Repository Path**: anysharp/elasticsearch-net
## Basic Information
- **Project Name**: elasticsearch-net
- **Description**: Elasticsearch是一个基于Lucene构建的分布式、RESTful搜索引擎,提供实时全文搜索、分析、监控等功能。
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: 1.x
- **Homepage**: https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/index.html
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2024-09-24
- **Last Updated**: 2025-06-02
## Categories & Tags
**Categories**: Uncategorized
**Tags**: 搜索
## README
Repository for both **Elasticsearch.Net** and **NEST**, the two official [elasticsearch](https://github.com/elasticsearch/elasticsearch) .NET clients.
| Elasticsearch
| .NET client
| Supported
|
| 0.x |
0.x |
No |
| 1.x |
1.x |
Yes |
| 2.x |
2.x |
Yes (But not released yet!) |
| | |
|:-----------|-------------:|
| Nuget feed | [](https://www.nuget.org/packages/NEST)[](https://www.nuget.org/packages/NEST)|
| Bleeding edge feed| [](https://www.myget.org/gallery/elasticsearch-net)[](https://www.myget.org/gallery/elasticsearch-net) |
| CI | [](http://teamcity.codebetter.com/viewType.html?buildTypeId=bt993)[](https://www.myget.org/gallery/elasticsearch-net) [](https://travis-ci.org/elastic/elasticsearch-net)|
| Issue stats | [](http://www.issuestats.com/github/elastic/elasticsearch-net)[](http://www.issuestats.com/github/elastic/elasticsearch-net) |
#[Elasticsearch.Net](src/Elasticsearch.Net)
* Low-level client that provides a one-to-one mapping with the Elasticsearch REST API
* No dependencies
* Almost completely generated from the official REST API spec which makes it easy to keep up to date
* Comes with an integration test suite that can be generated from the YAML test definitions that the Elasticsearch core team uses to test their REST API
* Has no opinions on how you create or consume requests and responses
* Load balancing and cluster failover support
* All calls have async variants
[Read more here](src/Elasticsearch.Net)
#[NEST](https://github.com/elasticsearch/elasticsearch-net/tree/master/src/Nest#nest-)
* High-level client that internally uses the low-level **Elasticsearch.Net** client
* Maps requests and responses to strongly typed objects with a fluent interface and object initializer syntax to build them
* Comes with a very powerful query DSL that maps one-to-one with Elasticsearch
* Takes advantage of .NET features where they make sense (i.e., covariant `IEnumerable` result types, type and index inference)
* All calls have async variants
[Read more here](https://github.com/elasticsearch/elasticsearch-net/tree/master/src/Nest#nest-)