Aller au contenu

Setup ElasticSearch

This section describes how to setup ElasticSearch to be used in GeoNetwork to store the search/content statistics. Note that Geonetwork must have been built with the es profile for ElasticSearch to be used. See for details.


ElasticSearch can be installed manually, or for some operating systems packages are available.


If installed manually, ElasticSearch must be configured as a service to ensure it starts automatically when the server is started. This is beyond the scope of this guide.

To install manually:

Load indexes

$ cd /tmp
$ curl -O
$ curl -X PUT http://localhost:9200/gn-features -d @features.json
$ curl -O
$ curl -X PUT http://localhost:9200/gn-records -d @records.json
$ curl -O
$ curl -X PUT http://localhost:9200/gn-searchlogs -d @searchlogs.json