@@ -15,11 +15,31 @@ This is a multi bucket aggregation.
1515Installation
1616------------
1717
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" `
18+ ` bin/plugin --install path_hierarchy --url "https://github.com/opendatasoft/elasticsearch-aggregation-pathhierarchy/releases/download/v7.17 .0.0/pathhierarchy-aggregation-7.17 .0.0.zip" `
1919
2020Build
2121-----
22- Requires Java 12
22+ Compatible with Java version from 15 to 17
23+
24+ Development Environment Setup
25+ ------------
26+
27+ Build the plugin using gradle:
28+
29+ ` ./gradlew build `
30+
31+ OR
32+
33+ ` ./gradlew assemble ` (to avoid tests)
34+
35+ Then the following command will start a dockerized ES and will install the previously built plugin:
36+
37+ `
38+ docker-compose up
39+ `
40+
41+
42+ > NOTE: In ` docker-compose.yml ` you can uncomment the debug env and attach a REMOTE JVM on ` *:5005 ` to debug the plugin.
2343
2444Path hierarchy aggregation
2545--------------------------
@@ -291,6 +311,7 @@ GET /calendar/_search?size=0
291311 "aggs": {
292312 "tree": {
293313 "date_hierarchy": {
314+ "field": "date",
294315 "interval": "days",
295316 "order": {
296317 "_key": "asc"
@@ -305,12 +326,10 @@ GET /calendar/_search?size=0
305326Installation
306327------------
307328
308- Plugin versions are available for (at least) all minor versions of Elasticsearch since 6.0.
309-
310329The first 3 digits of plugin version is Elasticsearch versioning. The last digit is used for plugin versioning under an elasticsearch version.
311330
312331To 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.6 .0.0/pathhierarchy-aggregation-7.6 .0.0.zip `
332+ ` ./bin/elasticsearch-plugin install https://github.com/opendatasoft/elasticsearch-aggregation-pathhierarchy/releases/download/v7.17 .0.0/pathhierarchy-aggregation-7.17 .0.0.zip `
314333
315334| elasticsearch version | plugin version | plugin url |
316335| --------------------- | -------------- | ---------- |
@@ -330,7 +349,9 @@ To install it, launch this command in Elasticsearch directory replacing the url
330349| 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 |
331350| 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 |
332351| 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 |
333-
352+ | 7.10.2 | 7.10.2.0 | https://github.com/opendatasoft/elasticsearch-aggregation-pathhierarchy/releases/download/v7.10.2.0/pathhierarchy-aggregation-7.10.2.0.zip |
353+ | 7.16.3 | 7.16.3.0 | https://github.com/opendatasoft/elasticsearch-aggregation-pathhierarchy/releases/download/v7.16.3.0/pathhierarchy-aggregation-7.16.3.0.zip |
354+ | 7.17.0 | 7.17.0.0 | https://github.com/opendatasoft/elasticsearch-aggregation-pathhierarchy/releases/download/v7.17.0.0/pathhierarchy-aggregation-7.17.0.0.zip |
334355
335356License
336357-------
0 commit comments