You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-31Lines changed: 9 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -22,58 +22,38 @@ The `docs/design` folder contains records of the major decisions in the design o
22
22
23
23
### Installing the library
24
24
25
-
While it's a work in progress, snapshots of this library are published to a Maven repository hosted on [GitHub Packages](https://github.com/elastic/elasticsearch-java/packages/). To access it [you need a personal access token](https://github.com/settings/tokens) on your GitHub account that has the `read:packages` permission. This token should then be added to `~/.gradle/gradle.properties`:
26
-
27
-
```properties
28
-
ESJavaGithubPackagesUsername=YOUR_GITHUB_USERNAME
29
-
ESJavaGithubPackagesPassword=YOUR_GITHUB_TOKEN
30
-
```
25
+
This library requires at least Java 8.
31
26
32
27
Along with this library, you also need a JSON/object mapping library. `elasticsearch-java` has built-in support for [Jackson](https://github.com/FasterXML/jackson) and [JSON-B](http://json-b.net/) implementations such as [Eclipse Yasson](https://github.com/eclipse-ee4j/yasson).
33
28
34
-
This library requires at least Java 8.
29
+
While it's a work in progress, snapshots of this library are published to Elastic's snapshot repository. Snapshots are currently available for the upcoming version 7.15.0, built from the `7.x` branch.
35
30
36
31
Gradle project (Groovy flavor) setup using Jackson:
@@ -84,7 +64,7 @@ In the `pom.xml` for your project add the following repository definition and de
84
64
<dependency>
85
65
<groupId>co.elastic.clients</groupId>
86
66
<artifactId>elasticsearch-java</artifactId>
87
-
<version>8.0.0-SNAPSHOT</version>
67
+
<version>7.15.0-SNAPSHOT</version>
88
68
</dependency>
89
69
<dependency>
90
70
<groupId>com.fasterxml.jackson.core</groupId>
@@ -125,9 +105,7 @@ if (search.hits().hits().isEmpty()) {
125
105
126
106
## Compatibility
127
107
128
-
The `main` branch targets the upcoming Elasticsearch 8.0. Support is still incomplete as the API code is generated from the [Elasticsearch Specification](https://github.com/elastic/elasticsearch-specification) that is also still a work in progress.
129
-
130
-
As the work on the specification comes to completion, an additional `7.x` branch will provide support for the corresponding versions of Elasticsearch.
108
+
The `main` branch targets the next major release (8.0) and the `7.x` branch targets the next minor release. Support is still incomplete as the API code is generated from the [Elasticsearch Specification](https://github.com/elastic/elasticsearch-specification) that is also still a work in progress.
0 commit comments