Delete index using the connector


(Richard Siebeling) #1

Hi,

following up on my previous question in the topic "delete from index"
how can I delete an index using the connector?

@Costin, you said do it manually but how should I do this, speak to the REST service or can I use the connector for this? Is it's possible to use the connector how should I do that?

thanks in advance,
Richard


(Mark Walkom) #2

curl -XDELETE ES_HOST:9200/INDEX_NAME is all you need.


(Richard Siebeling) #3

thanks I’ll do that


(Mark Walkom) #4

Dunno how to do it with the connector though sorry!


(Costin Leau) #5

The connector does not expose DELETE to the user directly. It is supported though through SparkSQL for example (depending on the SaveMode used).


(system) #6