This topic provides answers to commonly asked questions about the Java API operations of Alibaba Cloud Elasticsearch.
When I use Transport Client to access an Elasticsearch cluster, how do I set the cluster.name parameter?
Set this parameter to the ID of your cluster. You can obtain the ID from the Basic Information page of your cluster. For more information, see View basic information of a cluster.
When I use Transport Client to access an Elasticsearch cluster, the system displays the "NoNodeAvailableException" error message. What do I do?
client.transport.sniffparameter to false. For more information, see Transport Client (5.x).