Skip to content

Commit b0c5658

Browse files
committed
Update readme
1 parent 7e68120 commit b0c5658

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

README.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is an `Ingest`, `Search` and `Script` plugin.
88

99
## Installation
1010

11-
Current supported version is Elasticsearch 7.x (7.17.28).
11+
Current supported version is Elasticsearch 8.x.
1212
You can find past releases [here](https://github.com/opendatasoft/elasticsearch-plugin-geoshape/releases).
1313

1414
The first 3 digits of the plugin version is the corresponding Elasticsearch version. The last digit is used for plugin versioning.
@@ -371,7 +371,7 @@ or
371371
./gradlew assemble # (to avoid the test suite)
372372
```
373373

374-
Then you can find the current version of the plugin at `elasticsearch-plugin-geoshape-7.17.z.d.zip`
374+
Then you can find the current version of the plugin at e.g. `elasticsearch-plugin-geoshape-7.17.z.d.zip`
375375

376376
In case you have to upgrade Gradle, you can do it with `./gradlew wrapper --gradler-version x.y.z`.
377377

@@ -388,20 +388,6 @@ change before running `docker-compose` up again.
388388

389389
> NOTE: In `docker-compose.yml` you can uncomment the debug env and attach a REMOTE JVM on `*:5005` to debug the plugin.
390390
391-
Note also that this plugin depends on some Types and Classes from the legacygeo elasticsearch module. In our Gradle script, you find:
392-
393-
```
394-
compileOnly files('libs/legacy-geo-7.17.28.jar')
395-
```
396-
397-
or a different version number depending on the current supported Elasticsearch version.
398-
399-
If you're going to update this plugin with a new version, you also need to update this JAR file. To do so, it's necassary to build it from source. So you have to `git clone` the [elasticsearch source code](https://github.com/elastic/elasticsearch), `git checkout vX.Y.Z` with the wanted version and run a build for this specific module with:
400-
401-
`./gradlew :modules:legacy-geo:assemble` with the same Java version. Then you find a JAR file in `modules/legacy-geo/build/distributions/`, e.g. `legacy-geo-7.17.28-SNAPSHOT.jar`. Just copy it into `./libs/legacy-geo-7.17.28.jar` and run the compilation of this plugin with gradle.
402-
403-
Take also a look at this potential deprecation about legacy-geo https://github.com/elastic/elasticsearch/issues/96097
404-
405391
## License
406392

407393
This software is under AGPL (GNU Affero General Public License)

0 commit comments

Comments
 (0)