probably not much help but I had the same error today using 5.6.3 (both low and high level). I switched to 6.0.0-rc2 and the error went away. I assume it works in 5.6.3 but it doesn't seem to want a HighLevelRestClient object but instead wants a Client. I don't pretend to understand this as I thought the Client was associated more with previous versions. Anyway I switched to 6.0.0-rc2 and it builds in line with dadoonets answer above. I can't quite understand what is needed in the Settings object though so i'm about to ask a similar question (hence finding this one)
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.