Skip to content

Commit f2d661f

Browse files
committed
Split the server and client versions
Sometimes the client might be released using another version than the server version. So we make this obvious now.
1 parent 3f945fb commit f2d661f

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Elasticsearch Client Java Sample project
44

5-
https://discuss.elastic.co has many questions about the Elasticsearch Java Client.
5+
https://discuss.elastic.co has many questions about the Elasticsearch [Java API Client](https://www.elastic.co/docs/reference/elasticsearch/clients/java).
66

77
To address those questions, I often attempt to reproduce the issues.
88

@@ -11,7 +11,8 @@ I believe it could be beneficial for many, so I've made the code available here.
1111

1212
You're welcome to contribute your own examples if you'd like.
1313

14-
This repository is tested against Elasticsearch 9.1.2.
14+
This repository is tested against Elasticsearch Server 9.1.2 using
15+
[Elasticsearch Java API Client](https://www.elastic.co/docs/reference/elasticsearch/clients/java) 9.1.2.
1516

1617
We automatically start a Docker image using the [Elasticsearch module for TestContainers](https://www.testcontainers.org/modules/elasticsearch/).
1718

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<properties>
1212
<!-- Main dependencies -->
1313
<elasticsearch.version>9.1.2</elasticsearch.version>
14+
<elasticsearch-client.version>9.1.2</elasticsearch-client.version>
1415
<jackson.version>2.19.2</jackson.version>
1516
<log4j.version>2.25.1</log4j.version>
1617
<slf4j.version>2.0.17</slf4j.version>
@@ -72,7 +73,7 @@
7273
<dependency>
7374
<groupId>co.elastic.clients</groupId>
7475
<artifactId>elasticsearch-java</artifactId>
75-
<version>${elasticsearch.version}</version>
76+
<version>${elasticsearch-client.version}</version>
7677
<scope>test</scope>
7778
</dependency>
7879
<dependency>

src/main/documentation/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Elasticsearch Client Java Sample project
44

5-
https://discuss.elastic.co has many questions about the Elasticsearch Java Client.
5+
https://discuss.elastic.co has many questions about the Elasticsearch [Java API Client](https://www.elastic.co/docs/reference/elasticsearch/clients/java).
66

77
To address those questions, I often attempt to reproduce the issues.
88

@@ -11,7 +11,8 @@ I believe it could be beneficial for many, so I've made the code available here.
1111

1212
You're welcome to contribute your own examples if you'd like.
1313

14-
This repository is tested against Elasticsearch ${elasticsearch.version}.
14+
This repository is tested against Elasticsearch Server ${elasticsearch.version} using
15+
[Elasticsearch Java API Client](https://www.elastic.co/docs/reference/elasticsearch/clients/java) ${elasticsearch-client.version}.
1516

1617
We automatically start a Docker image using the [Elasticsearch module for TestContainers](https://www.testcontainers.org/modules/elasticsearch/).
1718

0 commit comments

Comments
 (0)