Skip to content

Commit c50af32

Browse files
authored
DATAES-677 - Update to Elasticsearch 7.4.1.
Original PR: #337
1 parent a438b38 commit c50af32

22 files changed

+27
-17
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<properties>
2121
<commonslang>2.6</commonslang>
22-
<elasticsearch>7.3.2</elasticsearch>
22+
<elasticsearch>7.4.1</elasticsearch>
2323
<log4j>2.9.1</log4j>
2424
<springdata.commons>2.3.0.BUILD-SNAPSHOT</springdata.commons>
2525
<netty>4.1.39.Final</netty>

src/main/java/org/springframework/data/elasticsearch/client/reactive/RawActionResponse.java

+10
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
*/
1616
package org.springframework.data.elasticsearch.client.reactive;
1717

18+
import org.elasticsearch.common.io.stream.StreamOutput;
1819
import reactor.core.publisher.Flux;
1920
import reactor.core.publisher.Mono;
2021

22+
import java.io.IOException;
2123
import java.util.List;
2224

2325
import org.elasticsearch.action.ActionResponse;
@@ -66,4 +68,12 @@ public ClientResponse.Headers headers() {
6668
public <T> T body(BodyExtractor<T, ? super ClientHttpResponse> extractor) {
6769
return delegate.body(extractor);
6870
}
71+
72+
/*
73+
* (non-Javadoc)
74+
* until Elasticsearch 7.4 this empty implementation was available in the abstract base class
75+
*/
76+
@Override
77+
public void writeTo(StreamOutput out) throws IOException {
78+
}
6979
}

src/test/java/org/springframework/data/elasticsearch/core/geo/ElasticsearchTemplateGeoTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import java.util.ArrayList;
2828
import java.util.List;
2929

30-
import org.elasticsearch.geo.utils.Geohash;
30+
import org.elasticsearch.geometry.utils.Geohash;
3131
import org.elasticsearch.index.query.QueryBuilders;
3232
import org.junit.jupiter.api.BeforeEach;
3333
import org.junit.jupiter.api.Test;

src/test/resources/test-home-dir/modules/analysis-common/plugin-descriptor.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
description=Adds "built in" analyzers to Elasticsearch.
2121
#
2222
# 'version': plugin's version
23-
version=7.3.2
23+
version=7.4.1
2424
#
2525
# 'name': the plugin name
2626
name=analysis-common
@@ -35,7 +35,7 @@ classname=org.elasticsearch.analysis.common.CommonAnalysisPlugin
3535
java.version=1.8
3636
#
3737
# 'elasticsearch.version': version of elasticsearch compiled against
38-
elasticsearch.version=7.3.2
38+
elasticsearch.version=7.4.1
3939
### optional elements for plugins:
4040
#
4141
# 'extended.plugins': other plugins this plugin extends through SPI

src/test/resources/test-home-dir/modules/ingest-common/plugin-descriptor.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
description=Module for ingest processors that do not require additional security permissions or have large dependencies and resources
2121
#
2222
# 'version': plugin's version
23-
version=7.3.2
23+
version=7.4.1
2424
#
2525
# 'name': the plugin name
2626
name=ingest-common
@@ -35,7 +35,7 @@ classname=org.elasticsearch.ingest.common.IngestCommonPlugin
3535
java.version=1.8
3636
#
3737
# 'elasticsearch.version': version of elasticsearch compiled against
38-
elasticsearch.version=7.3.2
38+
elasticsearch.version=7.4.1
3939
### optional elements for plugins:
4040
#
4141
# 'extended.plugins': other plugins this plugin extends through SPI

src/test/resources/test-home-dir/modules/lang-expression/plugin-descriptor.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
description=Lucene expressions integration for Elasticsearch
2121
#
2222
# 'version': plugin's version
23-
version=7.3.2
23+
version=7.4.1
2424
#
2525
# 'name': the plugin name
2626
name=lang-expression
@@ -35,7 +35,7 @@ classname=org.elasticsearch.script.expression.ExpressionPlugin
3535
java.version=1.8
3636
#
3737
# 'elasticsearch.version': version of elasticsearch compiled against
38-
elasticsearch.version=7.3.2
38+
elasticsearch.version=7.4.1
3939
### optional elements for plugins:
4040
#
4141
# 'extended.plugins': other plugins this plugin extends through SPI
Binary file not shown.
Binary file not shown.

src/test/resources/test-home-dir/modules/lang-painless/plugin-descriptor.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
description=An easy, safe and fast scripting language for Elasticsearch
2121
#
2222
# 'version': plugin's version
23-
version=7.3.2
23+
version=7.4.1
2424
#
2525
# 'name': the plugin name
2626
name=lang-painless
@@ -35,7 +35,7 @@ classname=org.elasticsearch.painless.PainlessPlugin
3535
java.version=1.8
3636
#
3737
# 'elasticsearch.version': version of elasticsearch compiled against
38-
elasticsearch.version=7.3.2
38+
elasticsearch.version=7.4.1
3939
### optional elements for plugins:
4040
#
4141
# 'extended.plugins': other plugins this plugin extends through SPI
Binary file not shown.

src/test/resources/test-home-dir/modules/mapper-extras/plugin-descriptor.properties

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
description=Adds advanced field mappers
2121
#
2222
# 'version': plugin's version
23-
version=7.3.2
23+
version=7.4.1
2424
#
2525
# 'name': the plugin name
2626
name=mapper-extras
@@ -35,11 +35,11 @@ classname=org.elasticsearch.index.mapper.MapperExtrasPlugin
3535
java.version=1.8
3636
#
3737
# 'elasticsearch.version': version of elasticsearch compiled against
38-
elasticsearch.version=7.3.2
38+
elasticsearch.version=7.4.1
3939
### optional elements for plugins:
4040
#
4141
# 'extended.plugins': other plugins this plugin extends through SPI
42-
extended.plugins=lang-painless
42+
extended.plugins=
4343
#
4444
# 'has.native.controller': whether or not the plugin has a native controller
4545
has.native.controller=false

src/test/resources/test-home-dir/modules/reindex/plugin-descriptor.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
description=The Reindex module adds APIs to reindex from one index to another or update documents in place.
2121
#
2222
# 'version': plugin's version
23-
version=7.3.2
23+
version=7.4.1
2424
#
2525
# 'name': the plugin name
2626
name=reindex
@@ -35,7 +35,7 @@ classname=org.elasticsearch.index.reindex.ReindexPlugin
3535
java.version=1.8
3636
#
3737
# 'elasticsearch.version': version of elasticsearch compiled against
38-
elasticsearch.version=7.3.2
38+
elasticsearch.version=7.4.1
3939
### optional elements for plugins:
4040
#
4141
# 'extended.plugins': other plugins this plugin extends through SPI

src/test/resources/test-home-dir/modules/repository-url/plugin-descriptor.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
description=Module for URL repository
2121
#
2222
# 'version': plugin's version
23-
version=7.3.2
23+
version=7.4.1
2424
#
2525
# 'name': the plugin name
2626
name=repository-url
@@ -35,7 +35,7 @@ classname=org.elasticsearch.plugin.repository.url.URLRepositoryPlugin
3535
java.version=1.8
3636
#
3737
# 'elasticsearch.version': version of elasticsearch compiled against
38-
elasticsearch.version=7.3.2
38+
elasticsearch.version=7.4.1
3939
### optional elements for plugins:
4040
#
4141
# 'extended.plugins': other plugins this plugin extends through SPI
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)