Elasticsearch

From ArchWiki
Revision as of 09:24, 18 October 2016 by Francoism (talk | contribs) (Draft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Elasticsearch is a search engine based on Lucene. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. Elasticsearch is developed in [Java] and is released as open source under the terms of the Apache License.

Installation

Elasticsearch requires at least OpenJDK 7, setup [Java] first (if needed).

Install the elasticsearch package.

Configuration

The main Elasticsearch configuration file is well-documented and located at /etc/elasticsearch/elasticsearch.yml.

  • By default Elasticsearch is public accessible, it may be preferred to allow only access on the host instead:
network.host: 127.0.0.1
  • It is possible to use a custom port instead of the default {9200:
http.port: 9200