Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Install, configure and start Elasticsearch

Manual installation

Download Elasticsearch (at least 7.2.1 for Geonetwork 3.8.x) from and copy it to the ES module. eg. es/elasticsearch-7.2.1

Start ES using:


Maven installation

Maven can take care of the installation steps:

  • download
  • initialize collection
  • start

Use the following commands:

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

Configure index

Change to the es directory and load the indices:

curl -X PUT http://localhost:9200/gn-records -H "Content-Type:application/json"  -d @config/records.json
curl -X PUT http://localhost:9200/gn-features -H "Content-Type:application/json" -d @config/features.json
curl -X PUT http://localhost:9200/gn-searchlogs -H "Content-Type:application/json"  -d @config/searchlogs.json

To delete your index:

curl -X DELETE http://localhost:9200/gn-records
curl -X DELETE http://localhost:9200/gn-features
curl -X DELETE http://localhost:9200/gn-searchlogs

Check that elasticsearch is running by visiting http://localhost:9200 in a browser

Production use

Configure ES to start on server startup.

You can’t perform that action at this time.