Skip to content

Commit 567dbc2

Browse files
committed
Prepare release 7.6.0
1 parent 3de4a06 commit 567dbc2

File tree

9 files changed

+14
-23
lines changed

9 files changed

+14
-23
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This is a multi bucket aggregation.
1515
Installation
1616
------------
1717

18-
`bin/plugin --install path_hierarchy --url "https://github.com/opendatasoft/elasticsearch-aggregation-pathhierarchy/releases/download/v7.5.1.0/pathhierarchy-aggregation-7.5.1.0.zip"`
18+
`bin/plugin --install path_hierarchy --url "https://github.com/opendatasoft/elasticsearch-aggregation-pathhierarchy/releases/download/v7.6.0.0/pathhierarchy-aggregation-7.6.0.0.zip"`
1919

2020
Build
2121
-----
@@ -310,7 +310,7 @@ Plugin versions are available for (at least) all minor versions of Elasticsearch
310310
The first 3 digits of plugin version is Elasticsearch versioning. The last digit is used for plugin versioning under an elasticsearch version.
311311

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

315315
| elasticsearch version | plugin version | plugin url |
316316
| --------------------- | -------------- | ---------- |
@@ -329,6 +329,7 @@ To install it, launch this command in Elasticsearch directory replacing the url
329329
| 7.2.0 | 7.2.0.1 | https://github.com/opendatasoft/elasticsearch-aggregation-pathhierarchy/releases/download/v7.2.0.1/pathhierarchy-aggregation-7.2.0.1.zip |
330330
| 7.4.2 | 7.4.2.0 | https://github.com/opendatasoft/elasticsearch-aggregation-pathhierarchy/releases/download/v7.4.2.0/pathhierarchy-aggregation-7.4.2.0.zip |
331331
| 7.5.1 | 7.5.1.0 | https://github.com/opendatasoft/elasticsearch-aggregation-pathhierarchy/releases/download/v7.5.1.0/pathhierarchy-aggregation-7.5.1.0.zip |
332+
| 7.6.0 | 7.6.0.0 | https://github.com/opendatasoft/elasticsearch-aggregation-pathhierarchy/releases/download/v7.6.0.0/pathhierarchy-aggregation-7.6.0.0.zip |
332333

333334

334335
License

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/org/opendatasoft/elasticsearch/search/aggregations/bucket/DateHierarchyAggregationBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
import org.elasticsearch.search.aggregations.BucketOrder;
2020
import org.elasticsearch.search.aggregations.InternalOrder;
2121
import org.elasticsearch.search.aggregations.bucket.MultiBucketAggregationBuilder;
22+
import org.elasticsearch.search.aggregations.support.CoreValuesSourceType;
2223
import org.elasticsearch.search.aggregations.support.ValuesSource;
2324
import org.elasticsearch.search.aggregations.support.ValueType;
2425
import org.elasticsearch.search.aggregations.support.ValuesSourceConfig;
25-
import org.elasticsearch.search.aggregations.support.ValuesSourceType;
2626
import org.elasticsearch.search.aggregations.support.ValuesSourceAggregationBuilder;
2727
import org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory;
2828
import org.elasticsearch.search.aggregations.support.ValuesSourceParserHelper;
@@ -156,7 +156,7 @@ public static AggregationBuilder parse(String aggregationName, XContentParser pa
156156

157157

158158
private DateHierarchyAggregationBuilder(String name, ValueType valueType) {
159-
super(name, ValuesSourceType.ANY, valueType);
159+
super(name, CoreValuesSourceType.ANY, valueType);
160160
}
161161

162162
@Override
@@ -169,7 +169,7 @@ protected boolean serializeTargetValueType(Version version) {
169169
*
170170
*/
171171
public DateHierarchyAggregationBuilder(StreamInput in) throws IOException {
172-
super(in, ValuesSourceType.ANY);
172+
super(in, CoreValuesSourceType.ANY);
173173
bucketCountThresholds = new DateHierarchyAggregator.BucketCountThresholds(in);
174174
minDocCount = in.readVLong();
175175
interval = in.readString();

src/main/java/org/opendatasoft/elasticsearch/search/aggregations/bucket/InternalDateHierarchy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public List<InternalBucket> getBuckets() {
216216
* Reduces the given aggregations to a single one and returns it.
217217
*/
218218
@Override
219-
public InternalDateHierarchy doReduce(List<InternalAggregation> aggregations, ReduceContext reduceContext) {
219+
public InternalDateHierarchy reduce(List<InternalAggregation> aggregations, ReduceContext reduceContext) {
220220
Map<BytesRef, List<InternalBucket>> buckets = null;
221221
long otherHierarchyNodes = 0;
222222

src/main/java/org/opendatasoft/elasticsearch/search/aggregations/bucket/InternalPathHierarchy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public List<InternalBucket> getBuckets() {
230230
* Reduces the given aggregations to a single one and returns it.
231231
*/
232232
@Override
233-
public InternalPathHierarchy doReduce(List<InternalAggregation> aggregations, ReduceContext reduceContext) {
233+
public InternalPathHierarchy reduce(List<InternalAggregation> aggregations, ReduceContext reduceContext) {
234234
Map<BytesRef, List<InternalBucket>> buckets = null;
235235
long otherHierarchyNodes = 0;
236236

src/main/java/org/opendatasoft/elasticsearch/search/aggregations/bucket/PathHierarchyAggregationBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
import org.elasticsearch.search.aggregations.BucketOrder;
1616
import org.elasticsearch.search.aggregations.InternalOrder;
1717
import org.elasticsearch.search.aggregations.bucket.MultiBucketAggregationBuilder;
18+
import org.elasticsearch.search.aggregations.support.CoreValuesSourceType;
1819
import org.elasticsearch.search.aggregations.support.ValuesSource;
1920
import org.elasticsearch.search.aggregations.support.ValuesSourceAggregationBuilder;
2021
import org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory;
2122
import org.elasticsearch.search.aggregations.support.ValuesSourceConfig;
2223
import org.elasticsearch.search.aggregations.support.ValuesSourceParserHelper;
23-
import org.elasticsearch.search.aggregations.support.ValuesSourceType;
2424
import org.elasticsearch.search.aggregations.support.ValueType;
2525

2626
import java.io.IOException;
@@ -85,7 +85,7 @@ public static AggregationBuilder parse(String aggregationName, XContentParser pa
8585

8686

8787
private PathHierarchyAggregationBuilder(String name, ValueType valueType) {
88-
super(name, ValuesSourceType.ANY, valueType);
88+
super(name, CoreValuesSourceType.ANY, valueType);
8989
}
9090

9191
@Override
@@ -98,7 +98,7 @@ protected boolean serializeTargetValueType(Version version) {
9898
*
9999
*/
100100
public PathHierarchyAggregationBuilder(StreamInput in) throws IOException {
101-
super(in, ValuesSourceType.ANY);
101+
super(in, CoreValuesSourceType.ANY);
102102
bucketCountThresholds = new PathHierarchyAggregator.BucketCountThresholds(in);
103103
separator = in.readString();
104104
minDocCount = in.readVLong();

0 commit comments

Comments
 (0)