Skip to content

Commit 1f15d75

Browse files
[DOCS] Restructures repo README. (#7843) (#7846)
Co-authored-by: István Zoltán Szabó <[email protected]>
1 parent b8cdf95 commit 1f15d75

File tree

2 files changed

+56
-12
lines changed

2 files changed

+56
-12
lines changed

README.md

+55-11
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,70 @@
11
Repository for **Elastic.Clients.Elasticsearch** the official .NET client for [Elasticsearch](https://github.com/elastic/elasticsearch). *Older branches include both previous clients, **NEST** and **Elasticsearch.Net**.*
22

3-
The .NET client for Elasticsearch provides strongly typed requests and responses for Elasticsearch APIs. It delegates protocol handling to the [Elastic.Transport](https://github.com/elastic/elastic-transport-net) library, which takes care of all transport-level concerns (HTTP connection establishment and pooling, retries, etc.).
3+
The .NET client for Elasticsearch provides strongly typed requests and responses
4+
for Elasticsearch APIs. It delegates protocol handling to the
5+
[Elastic.Transport](https://github.com/elastic/elastic-transport-net) library,
6+
which takes care of all transport-level concerns (HTTP connection establishment
7+
and pooling, retries, etc.).
48

59
## Compatibility
610

7-
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.
11+
Language clients are forward compatible; meaning that clients support
12+
communicating with greater or equal minor versions of Elasticsearch.
13+
Elasticsearch language clients are only backwards compatible with default
14+
distributions and without guarantees made.
815

9-
## Versions
16+
## Installation
1017

11-
### Elasticsearch 8.x Clusters
18+
Refer to the [Installation section](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/getting-started-net.html#_installation)
19+
of the getting started documentation.
1220

13-
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](https://www.nuget.org/packages/Elastic.Clients.Elasticsearch/). The 8.0.x versions do not offer complete
14-
feature parity with the existing `NEST` client. We therefore recommend you thoroughly review our [release notes and migration guidance](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/release-notes-8.0.0.html) before attempting to migrate existing applications to the `Elastic.Clients.Elasticsearch` library.
21+
## Connecting
1522

16-
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](https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17/connecting-to-elasticsearch-v8.html), which describes how to enable compatibility mode and secure communications with a v8 cluster.
23+
Refer to the [Connecting section](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/getting-started-net.html#_connecting)
24+
of the getting started documentation.
1725

18-
### Elasticsearch 7.x Clusters
26+
## Usage
1927

20-
We recommend using the latest `7.17.x` [NEST client](https://www.nuget.org/packages/Nest) to communicate with Elasticsearch v7 servers.
28+
- [Creating an index](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/getting-started-net.html#_creating_an_index)
29+
- [Indexing a document](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/getting-started-net.html#_indexing_documents)
30+
- [Getting documents](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/getting-started-net.html#_getting_documents)
31+
- [Searching documents](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/getting-started-net.html#_searching_documents)
32+
- [Updating documents](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/getting-started-net.html#_updating_documents)
33+
- [Deleting documents](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/getting-started-net.html#_deleting_documents)
34+
- [Deleting an index](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/getting-started-net.html#_deleting_an_index)
2135

2236
## Documentation
2337

24-
Please refer to [the full documentation on elastic.co](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/index.html) for comprehensive information on installation, configuration and usage.
38+
Please refer to
39+
[the full documentation on elastic.co](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/index.html)
40+
for comprehensive information on installation, configuration and usage.
41+
42+
## Versions
43+
44+
### Elasticsearch 8.x Clusters
45+
46+
We have released the next generation of the .NET client for Elasticsearch, which
47+
aligns with v8 of Elasticsearch. We have renamed this library
48+
`Elastic.Clients.Elasticsearch`, and the packages are published on
49+
[NuGet](https://www.nuget.org/packages/Elastic.Clients.Elasticsearch/). The
50+
8.0.x versions do not offer complete feature parity with the existing `NEST`
51+
client. We therefore recommend you thoroughly review our
52+
[release notes and migration guidance](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/release-notes-8.0.0.html)
53+
before attempting to migrate existing applications to the
54+
`Elastic.Clients.Elasticsearch` library.
55+
56+
Until the new client supports all endpoints and features your application
57+
requires, you may continue to use the latest `7.17.x` client to communicate with
58+
Elasticsearch v8 servers. Please review
59+
[our documentation](https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17/connecting-to-elasticsearch-v8.html),
60+
which describes how to enable compatibility mode and secure communications with
61+
a v8 cluster.
62+
63+
### Elasticsearch 7.x Clusters
64+
65+
We recommend using the latest `7.17.x`
66+
[NEST client](https://www.nuget.org/packages/Nest) to communicate with
67+
Elasticsearch v7 servers.
2568

2669
## Contributing
2770

@@ -31,4 +74,5 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md)
3174

3275
This software is Copyright (c) 2014-2022 by Elasticsearch BV.
3376

34-
This is free software, licensed under [The Apache License Version 2.0](https://github.com/elastic/elasticsearch-net/blob/main/LICENSE.txt).
77+
This is free software, licensed under
78+
[The Apache License Version 2.0](https://github.com/elastic/elasticsearch-net/blob/main/LICENSE.txt).

docs/getting-started.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ operations with it.
88
[discrete]
99
=== Requirements
1010

11-
.NET Core, .NET 5+ or .NET Framework (4.6.1 and higher).
11+
* .NET Core, .NET 5+ or .NET Framework (4.6.1 and higher).
1212

1313
[discrete]
1414
=== Installation

0 commit comments

Comments
 (0)