New to elasticsearch I am currently for clarification on pointing to nodes with different roles. The current set up is a 3 Master-data node cluster and looking to possibly scale out. Currently there are 2 applications,
- that continuously writes to elasticsearch
- a web application for users to search.
According to this post correct-usage-of-coordinating-role-node I can the application point directly to the coordination node or data node via the IP address / url of elasticsearch node.
Meaning for application
- the writing application, I create connection pool of urls / ip address of only the data nodes and send the data their.
- the web app, I can add a coordination node to cluster and use only the ip address / url of the coordination node
Then if an ingest node is added to the cluster, do I add that nodes url / ip address to the connection pool of the data nodes?