Skip to content

Commit

Permalink
HSEARCH-5005 Upgrade to Elasticsearch client 8.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-bekhta authored and yrodiere committed Nov 8, 2023
1 parent af998ae commit 5161016
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private ElasticsearchProtocolDialect createProtocolDialectElasticV7(Elasticsearc
}

private ElasticsearchProtocolDialect createProtocolDialectElasticV8(ElasticsearchVersion version, int minor) {
if ( minor > 10 ) {
if ( minor > 11 ) {
log.unknownElasticsearchVersion( version );
}
else if ( minor == 0 ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,22 @@ public static List<? extends Arguments> params() {
ElasticsearchDistributionName.ELASTIC, "8.10.0", "8.10.0",
Elasticsearch8ModelDialect.class, Elasticsearch81ProtocolDialect.class
),
successWithWarning(
success(
ElasticsearchDistributionName.ELASTIC, "8.11", "8.11.0",
Elasticsearch8ModelDialect.class, Elasticsearch81ProtocolDialect.class
),
successWithWarning(
success(
ElasticsearchDistributionName.ELASTIC, "8.11.0", "8.11.0",
Elasticsearch8ModelDialect.class, Elasticsearch81ProtocolDialect.class
),
successWithWarning(
ElasticsearchDistributionName.ELASTIC, "8.12", "8.12.0",
Elasticsearch8ModelDialect.class, Elasticsearch81ProtocolDialect.class
),
successWithWarning(
ElasticsearchDistributionName.ELASTIC, "8.12.0", "8.12.0",
Elasticsearch8ModelDialect.class, Elasticsearch81ProtocolDialect.class
),
successWithWarning(
ElasticsearchDistributionName.ELASTIC, "9.0.0", "9.0.0",
Elasticsearch8ModelDialect.class, Elasticsearch81ProtocolDialect.class
Expand Down
2 changes: 1 addition & 1 deletion build/parents/build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<!-- >>> Elasticsearch -->
<!-- The version of the Elasticsearch client used by Hibernate Search, independently of the version of the remote cluster -->
<!-- Use the latest open-source version here. Currently, low-level clients are open-source even in 8.5+ -->
<version.org.elasticsearch.client>8.10.4</version.org.elasticsearch.client>
<version.org.elasticsearch.client>8.11.0</version.org.elasticsearch.client>
<!-- The main compatible version of Elasticsearch, advertised by default. Used in documentation links. -->
<!-- When updating the following version you will likely need to update the test profiles as well,
to make sure the corresponding profile (e.g. elasticsearch-8.4) becomes the default. -->
Expand Down

0 comments on commit 5161016

Please sign in to comment.