I'm getting the error:
Type mismatch: cannot convert from org.elasticsearch.action.admin.indices.create.CreateIndexResponse to org.elasticsearch.client.indices.CreateIndexResponse
It seems Eclipse was adding import org.elasticsearch.action.admin.indices.create.CreateIndexRequest;
when it should have been import org.elasticsearch.client.indices.CreateIndexRequest;
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.