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 :-
it returns either "TRUE" or "FALSE.
Can I find something similar for SparkR, without using the elastic package.
Thanks in advance