org.elasticsearch.spark.rdd.java.api.JavaEsSpark exists?

Hello, I am not sure "org.elasticsearch.spark.rdd.java.api.JavaEsSpark;" is correct (seen in documentation), should not be "org.elasticsearch.spark.rdd.api.java.JavaEsSpark;" instead?

As here https://github.com/elastic/elasticsearch-hadoop/tree/master/spark/core/main/scala/org/elasticsearch/spark/rdd/api/java

That is correct, the docs should all say api.java and not java.api. I pushed out a set of doc changes to fix this.

I believe the github readme is wrong too.

Right you were. Cheers!