Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...


Do the following changes Steps to install Elastic SearchExample Elasticsearch.yml and update the following parameters:

...

Code Block
languagejava
themeMidnight
titleSingle node Elastic Search
cluster.name: zephyr
node.name: "Node1"
node.master: true
node.data: true
script.inline: true
script.stored: true
network.bind_host: 192.168.45.21
network.publish_host: 192.168.45.21
network.host: 192.168.45.21
transport.tcp.port: 9300
http.port: 9200
discovery.zen.ping.unicast.hosts: ["192.168.45.21:9300"]
indices.query.bool.max_clause_count: 9012


Sample elasticsearch.yml file attached : Example Elasticsearch.yml

...

discovery.zen.ping.unicast.hosts should contain all the elasticsearch system's host ip and port which are in cluster.


Sample elasticsearch.yml file attached :

ESNode 1
EsNode 2
EsNode 3


If elastic Search is in Cluster then in ZE we have to change the "number_of_shards" and "number_of_replicas"

Navigate to the ZE installation Dir 

C:\Program Files\Zephyr\tomcat\webapps\flex\WEB-INF\template\zephyr

In this file _settings.json

change the number of shards and number of replicas

...