Class JMElasticsearchDelete


  • public class JMElasticsearchDelete
    extends Object
    The type Jm elasticsearch delete.
    • Constructor Detail

      • JMElasticsearchDelete

        public JMElasticsearchDelete​(org.elasticsearch.client.Client elasticsearchClient)
        Instantiates a new Jm elasticsearch delete.
        Parameters:
        elasticsearchClient - the elasticsearch client
    • 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
      • deleteDoc

        public org.elasticsearch.action.delete.DeleteResponse deleteDoc​(String index,
                                                                        String type,
                                                                        String id)
        Delete doc delete response.
        Parameters:
        index - the index
        type - the type
        id - the id
        Returns:
        the delete response