Hi All,
My use case is as follows: I want to implement a BulkDelete with the help of ES-spark library which will be called by each partition.
rdd.foreachpartition{ p=>
BulkDelete(index,type,p)
}
def BulkDelete(indexO: String, tyO: String, ids: Iterable[String]): Unit = {
....
}
Could you suggest how to use es-spark library to achieve that?
best regards,
zhifeng