Setup ElasticSearch

In this section is described how to setup ElasticSearch to be used in GeoNetwork to store the search/content statistics:

$ cd /opt/elasticsearch/bin
$ ./elasticsearch &


Usually you’ll want to configure ElasticSearch to run when the server is startup, this is not covered in this guide.

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