How to check whether index exists in Elasticsearch or not, using SparkR

Hi,

I don't know if this the correct forum to ask, but still here goes.

While I was using R, i used the elastic package to check the existence of an index.
Following were the commands :-

library(elastic)
index_exists(index_name)
it returns either "TRUE" or "FALSE.

Can I find something similar for SparkR, without using the elastic package.

Thanks in advance

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