How to delete data in elastic search through id

def deleteContentByContentId(contentId:String):Boolean={
eitherTryBlock{
val search = searchHelper.createContentSearch(client, Nil, List(contentId), 0, 10)
val response = search.get()
val result=response.
}
}

I waned to delete response variable in scala...can anyone help

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