I am starting to implement elastic search in my project. The project is J2EE application deployed on Weblogic Clustered environment. Which means my java classes would be present at different locations/nodes in a cluster. If I use Elastic search Java api to put/get data , will it look only for the ES nodes on that particular node or throughout my Weblogic Cluster setup. If only local node , then what should I do to make sure all the logs from my Applications Server nodes are in sync.
Should I go for one single node at a location and use that location in all my classes to put/get data? If yes, then a small code snippet would be helpful.