Hello. Questions about maintaining the connection of "Elasticsearch-Rest-High-Level-Client" in Java. RestClient.builder is created using a connection. But when i am using it on a 365-day server, do i have to connect and close after use? Or should I keep connected in a continuous state?
the Single instance of resthighlevelclient is appropriate?when i create one client instance to use and keep it long running,don't call its close method
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.