Spark - reading index with no type

Hi I am using ES 7.1 and created an index. Now I am trying to read it from Spark but getting an error because my index does not have a type.

I am following the examples located here GitHub - elastic/elasticsearch-hadoop: Elasticsearch real-time search and analytics natively integrated with Hadoop. How can an index be read with no type?


instead of

val sc = new SparkContext(conf)
sc.esRDD("radio/artists", "?q=me*")

I want to do

val sc = new SparkContext(conf)
sc.esRDD("radio", "?q=me*")

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.