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?
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*")