Skip to content

Commit

Permalink
Elasticsearch / Update to 8.14.3. (#8337)
Browse files Browse the repository at this point in the history
* Elasticsearch / Update to 8.14.3.

* Update installing-index.md
  • Loading branch information
fxprunayre authored Oct 16, 2024
1 parent 8c1636f commit 7b9361a
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 19 deletions.
21 changes: 13 additions & 8 deletions docs/manual/docs/install-guide/installing-index.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,43 @@
# Installing search platform

The GeoNetwork search engine is built on top of Elasticsearch. The platform is used to index records and also to analyze WFS data (See [Analyze and visualize data](../user-guide/analyzing/data.md) ).
The GeoNetwork search engine is built on top of Elasticsearch. The platform is used to index records and also to index WFS data (See [Analyze and visualize data](../user-guide/analyzing/data.md) ).

GeoNetwork requires an [Elasticsearch](https://www.elastic.co/products/elasticsearch) instance to be installed next to the catalog.


## Elasticsearch compatibility

Elasticsearch Java client version: 8.14.3

| Elasticsearch Version | Compatibility |
|-----------------------| ------------- |
| Elasticsearch 7.15.x | minimum |
| Elasticsearch 8.11.3 | tested |
| Elasticsearch 8.14.3 | recommended |
| Elasticsearch 8.14.x | minimum |

Older version may be supported but are untested.


## Installation

=== "Manual installation"

1. **Download:** Elasticsearch 8.x (`8.11.3` tested, minimum `7.15.x`) from <https://www.elastic.co/downloads/elasticsearch> and unzip the file.
1. **Download:** Elasticsearch `8.14.3` from <https://www.elastic.co/downloads/elasticsearch> and unzip the file.

``` shell
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.11.3.tar.gz
tar xvfz elasticsearch-8.11.3.tar.gz
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.14.3.tar.gz
tar xvfz elasticsearch-8.14.3.tar.gz
```

2. **Start**: Manually start Elasticsearch using:

``` shell
elasticsearch-8.11.3/bin/elasticsearch
elasticsearch-8.14.3/bin/elasticsearch
```

3. **Stop**: Manually stop Elasticsearch using:

``` shell
elasticsearch-8.11.3/bin/elasticsearch stop
elasticsearch-8.14.3/bin/elasticsearch stop
```
=== "Install using Maven"
Expand Down
10 changes: 5 additions & 5 deletions es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ These configurations should not be used for a production deployment.
1. Use docker pull to download the image (you can check version in the :file:`pom.xml` file):

```
docker pull docker.elastic.co/elasticsearch/elasticsearch:8.14.0
docker pull docker.elastic.co/elasticsearch/elasticsearch:8.14.3
```

2. Use docker run, leaving 9200 available:
Expand All @@ -21,7 +21,7 @@ These configurations should not be used for a production deployment.
-e "discovery.type=single-node" \
-e "xpack.security.enabled=false" \
-e "xpack.security.enrollment.enabled=false" \
docker.elastic.co/elasticsearch/elasticsearch:8.14.0
docker.elastic.co/elasticsearch/elasticsearch:8.14.3
```

3. Check that elasticsearch is running by visiting http://localhost:9200 in a browser
Expand Down Expand Up @@ -61,8 +61,8 @@ Maven installation ensure you always are using the ``es.version`` version specif

## Manual installation

1. Download Elasticsearch 8.14.0 from https://www.elastic.co/downloads/elasticsearch
and copy to the ES module, e.g., ``es/elasticsearch-8.14.0`
1. Download Elasticsearch 8.14.3 from https://www.elastic.co/downloads/elasticsearch
and copy to the ES module, e.g., ``es/elasticsearch-8.14.3`

2. Disable the security

Expand Down Expand Up @@ -127,7 +127,7 @@ Don't hesitate to propose a Pull Request with the new language.

1. Configure ES to start on server startup. It is recommended to protect `gn-records` index from the Internet access.

* Note that for debian-based servers the current deb download (8.14.0) can be installed rather than installing manually and can be configured to run as a service using the instructions here: https://www.elastic.co/guide/en/elasticsearch/reference/current/starting-elasticsearch.html
* Note that for debian-based servers the current deb download (8.14.3) can be installed rather than installing manually and can be configured to run as a service using the instructions here: https://www.elastic.co/guide/en/elasticsearch/reference/current/starting-elasticsearch.html


# Troubleshoot
Expand Down
4 changes: 2 additions & 2 deletions es/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'

services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.14.0
image: docker.elastic.co/elasticsearch/elasticsearch:8.14.3
container_name: elasticsearch8
environment:
- cluster.name=docker-cluster
Expand All @@ -20,7 +20,7 @@ services:
ports:
- "9200:9200"
kibana:
image: docker.elastic.co/kibana/kibana:8.14.0
image: docker.elastic.co/kibana/kibana:8.14.3
container_name: kibana8
ports:
- "5601:5601"
4 changes: 2 additions & 2 deletions es/es-dashboards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

## Manual installation

1. Download Kibana 8.14.0 from https://www.elastic.co/downloads/kibana
1. Download Kibana 8.14.3 from https://www.elastic.co/downloads/kibana

2. Set Kibana base path and index name in config/kibana.yml:

Expand Down Expand Up @@ -81,7 +81,7 @@ Visit Kibana in a browser using one of the above links and go to 'Saved Objects'

### Production Use

Kibana can be installed from the debian files, and Kibana 8.14.0 is confirmed as working with Geonetwork 4.4.x.
Kibana can be installed from the debian files, and Kibana 8.14.3 is confirmed as working with Geonetwork 4.4.x.

Set Kibana to start when the server starts up, using the instructions at https://www.elastic.co/guide/en/kibana/current/start-stop.html

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1565,7 +1565,7 @@
<jetty.port>8080</jetty.port>
<jetty.stop.port>8090</jetty.stop.port>

<es.version>8.14.0</es.version>
<es.version>8.14.3</es.version>
<es.platform>linux-x86_64</es.platform>
<es.installer.extension>tar.gz</es.installer.extension>
<es.protocol>http</es.protocol>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1361,7 +1361,6 @@
{
"tag": {
"match": "th_*",
"match_mapping_type": "object",
"mapping": {
"properties": {
"default": {
Expand Down

0 comments on commit 7b9361a

Please sign in to comment.