using logstash i have ingested file into elastic search with index/type .. car/soldcars
now for practising i want to read that csv file from spark using scala code.
I'm not sure I understand your question. Once you have a dataframe object, you should be able to define your processing operations on it. Are you seeing a specific inability to connect to Elasticsearch?
Not sure if this is just a typo in your post, but that should be es.resource
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.