Have you looked at the official client?
yes, it says the following in "introduction".
This is the official Node.js client for Elasticsearch. This page gives a quick overview about the features of the client.
I'd not recommend connecting Elasticsearch from the frontend TBH. That would require to have the frontend aware of the credentials...
Why not doing the backend connection from the backend (your JEE app) and then send to the frontend only what is needed or the full response as a JSON...
See for example:
May I know the Java library location from where to download, that need to be used in serverside rest API.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.