Skip to content

Commit 0d0b6e7

Browse files
committed
Prepare release 7.6.0
1 parent 4fd523e commit 0d0b6e7

File tree

7 files changed

+9
-18
lines changed

7 files changed

+9
-18
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Plugin versions are available for (at least) all minor versions of Elasticsearch
7070
The first 3 digits of plugin version is Elasticsearch versioning. The last digit is used for plugin versioning under an elasticsearch version.
7171

7272
To install it, launch this command in Elasticsearch directory replacing the url by the correct link for your Elasticsearch version (see table)
73-
`./bin/elasticsearch-plugin install https://github.com/opendatasoft/elasticsearch-aggregation-geoclustering/releases/download/v7.5.1.0/geopoint-clustering-aggregation-7.5.1.0.zip`
73+
`./bin/elasticsearch-plugin install https://github.com/opendatasoft/elasticsearch-aggregation-geoclustering/releases/download/v7.6.0.0/geopoint-clustering-aggregation-7.6.0.0.zip`
7474

7575
| elasticsearch version | plugin version | plugin url |
7676
| --------------------- | -------------- | ---------- |
@@ -88,4 +88,5 @@ To install it, launch this command in Elasticsearch directory replacing the url
8888
| 7.2.0 | 7.2.0.0 | https://github.com/opendatasoft/elasticsearch-aggregation-geoclustering/releases/download/v7.2.0.0/geopoint-clustering-aggregation-7.2.0.0.zip|
8989
| 7.4.0 | 7.4.0.0 | https://github.com/opendatasoft/elasticsearch-aggregation-geoclustering/releases/download/v7.4.0.0/geopoint-clustering-aggregation-7.4.0.0.zip|
9090
| 7.5.1 | 7.5.1.0 | https://github.com/opendatasoft/elasticsearch-aggregation-geoclustering/releases/download/v7.5.1.0/geopoint-clustering-aggregation-7.5.1.0.zip|
91+
| 7.6.0 | 7.6.0.0 | https://github.com/opendatasoft/elasticsearch-aggregation-geoclustering/releases/download/v7.6.0.0/geopoint-clustering-aggregation-7.6.0.0.zip|
9192

build.gradle

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// Fixes integTests for 7.5.1 => https://github.com/elastic/elasticsearch/issues/49787#issuecomment-562720655
2-
import org.elasticsearch.gradle.testclusters.TestClustersPlugin
3-
import org.elasticsearch.gradle.testclusters.TestClustersRegistry
4-
51
buildscript {
62
repositories {
73
mavenLocal()
@@ -47,9 +43,3 @@ checkstyleTest.enabled = true
4743
dependencyLicenses.enabled = true
4844

4945
thirdPartyAudit.enabled = true
50-
51-
// Fixes integTests for 7.5.1 => https://github.com/elastic/elasticsearch/issues/49787#issuecomment-562720655
52-
TestClustersRegistry registry = project.rootProject.extensions.create("testClustersRegistry", TestClustersRegistry)
53-
TestClustersPlugin.configureClaimClustersHook(project.gradle, registry)
54-
TestClustersPlugin.configureStartClustersHook(project.gradle, registry)
55-
TestClustersPlugin.configureStopClustersHook(project.gradle, registry)

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
es_version = 7.5.1
2-
plugin_version = 7.5.1.0
1+
es_version = 7.6.0
2+
plugin_version = 7.6.0.0

gradle/wrapper/gradle-wrapper.jar

-7 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/java/com/opendatasoft/elasticsearch/search/aggregations/bucket/geopointclustering/GeoPointClusteringAggregationBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
import org.elasticsearch.search.aggregations.AggregatorFactory;
1414
import org.elasticsearch.search.aggregations.bucket.BucketUtils;
1515
import org.elasticsearch.search.aggregations.bucket.MultiBucketAggregationBuilder;
16+
import org.elasticsearch.search.aggregations.support.CoreValuesSourceType;
1617
import org.elasticsearch.search.aggregations.support.ValueType;
1718
import org.elasticsearch.search.aggregations.support.ValuesSource;
1819
import org.elasticsearch.search.aggregations.support.ValuesSourceAggregationBuilder;
1920
import org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory;
2021
import org.elasticsearch.search.aggregations.support.ValuesSourceConfig;
2122
import org.elasticsearch.search.aggregations.support.ValuesSourceParserHelper;
22-
import org.elasticsearch.search.aggregations.support.ValuesSourceType;
2323

2424
import java.io.IOException;
2525
import java.util.Map;
@@ -60,7 +60,7 @@ public static GeoPointClusteringAggregationBuilder parse(String aggregationName,
6060
private double ratio = DEFAULT_RATIO;
6161

6262
public GeoPointClusteringAggregationBuilder(String name) {
63-
super(name, ValuesSourceType.GEOPOINT, ValueType.GEOPOINT);
63+
super(name, CoreValuesSourceType.GEOPOINT, ValueType.GEOPOINT);
6464
}
6565

6666
protected GeoPointClusteringAggregationBuilder(
@@ -83,7 +83,7 @@ protected AggregationBuilder shallowCopy(Builder factoriesBuilder, Map<String, O
8383
* Read from a stream.
8484
*/
8585
public GeoPointClusteringAggregationBuilder(StreamInput in) throws IOException {
86-
super(in, ValuesSourceType.GEOPOINT, ValueType.GEOPOINT);
86+
super(in, CoreValuesSourceType.GEOPOINT, ValueType.GEOPOINT);
8787
zoom = in.readInt();
8888
radius = in.readInt();
8989
extent = in.readInt();

src/main/java/com/opendatasoft/elasticsearch/search/aggregations/bucket/geopointclustering/InternalGeoPointClustering.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public List<InternalGeoPointClustering.Bucket> getBuckets() {
200200
}
201201

202202
@Override
203-
public InternalGeoPointClustering doReduce(List<InternalAggregation> aggregations, ReduceContext reduceContext) {
203+
public InternalGeoPointClustering reduce(List<InternalAggregation> aggregations, ReduceContext reduceContext) {
204204
LongObjectPagedHashMap<List<Bucket>> buckets = null;
205205
for (InternalAggregation aggregation : aggregations) {
206206
InternalGeoPointClustering grid = (InternalGeoPointClustering) aggregation;

0 commit comments

Comments
 (0)