Package kr.jm.utils.elasticsearch
Class JMElasticsearchDelete
- java.lang.Object
-
- kr.jm.utils.elasticsearch.JMElasticsearchDelete
-
public class JMElasticsearchDelete extends Object
The type Jm elasticsearch delete.
-
-
Constructor Summary
Constructors Constructor Description JMElasticsearchDelete(org.elasticsearch.client.Client elasticsearchClient)Instantiates a new Jm elasticsearch delete.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.elasticsearch.action.delete.DeleteResponsedeleteDoc(String index, String type, String id)Delete doc delete response.org.elasticsearch.action.support.master.AcknowledgedResponsedeleteIndices(String... indices)Delete indices delete index response.org.elasticsearch.action.delete.DeleteResponsedeleteQuery(org.elasticsearch.action.delete.DeleteRequestBuilder deleteRequestBuilder)Delete query delete response.
-
-
-
Method Detail
-
deleteQuery
public org.elasticsearch.action.delete.DeleteResponse deleteQuery(org.elasticsearch.action.delete.DeleteRequestBuilder deleteRequestBuilder)
Delete query delete response.- Parameters:
deleteRequestBuilder- the delete request builder- Returns:
- the delete response
-
deleteIndices
public org.elasticsearch.action.support.master.AcknowledgedResponse deleteIndices(String... indices)
Delete indices delete index response.- Parameters:
indices- the indices- Returns:
- the delete index response
-
-