Cluster name not specified in java client and it is failing to communicate with cluster, no node available exceptio

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

I edited your post.

What do you have in searchConfig object?
What are elasticsearch server logs please?