We are querying elasticsearch from our Java application thru Transport client.
Recently we had to upgrade transport client from ver. 5.4.1 to ver. 6.0.0 since we updated ES on our nodes and had to make quite a few changes in our application code.
Also read somewhere on elastic forum that Transport client will be slowly deprecated and discontinued in future ElasticSearch versions. Would like to confirm if this is true.
If so, can someone please guide us to a better solution to query elasticsearch from our java code.
The solution should be fast in performance and should be future proof in the sense that if we upgrade ES, we should not be required to make changes in our Java code.