Elasticsearch is natively designed for the cloud, so when you need to release a production environment with a huge number of records and you need high availability and good performances, you need to aggregate more nodes in a cluster.
Elasticsearch allows defining different type of nodes to balance and improve overall performances.
You need a working Elasticsearch installation as we described in the Downloading and installing Elasticsearch recipe and a simple text editor to change the configuration files.
For advance, set up a cluster. There are some parameters that must be configured to define different node types.
These parameters are in config/elasticsearch.yml
file and they can be set with the following steps:
Set up whether the node can be master or not:
node.master: true
Set up whether a node must contain data or not:
node.data: true