Installing search platform

The GeoNetwork search engine is built on top of Elasticsearch. The platform is used to index record and also to analyze WFS data (See Analyze and visualize data), an Elasticsearch <> instance must be installed next to the catalog.

Manual installation

Download Elasticsearch from and unzip the file.

tar xvfz elasticsearch-7.6.2.tar.gz

Manually start and stop Elasticsearch using:


(Optional) Then create the default index (the application will create them automatically once the index is up and running and if no indices are found):

cd $GN_DATA_DIRECTORY/config/index
curl -X PUT http://localhost:9200/features -d @features.json
curl -X PUT http://localhost:9200/records -d @records.json
curl -X PUT http://localhost:9200/searchlogs -d @searchlogs.json

Stop Elasticsearch using

elasticsearch-7.6.2/bin/elasticsearch stop

Install using maven

Running from the source code, use maven to download.

cd es
mvn install -Pes-download
mvn exec:exec -Des-start

To stop Elasticsearch when using maven, simply stop the process as Elasticsearch is started in foreground mode.

Check installation

Access Elasticsearch admin page from http://localhost:9200/.

Configure connection

Update Elasticsearch connection details in `WEB-INF/` and restart the application (see source file web/src/main/webResources/WEB-INF/