public boolean deleteBulkDocs(String index, String type) {
        return executeBulkRequest(buildDeleteBulkRequestBuilder(
                buildAllDeleteRequestBuilderList(index, type))).hasFailures();
    }
public boolean deleteBulkDocs ( String index , String type ) { return executeBulkRequest ( buildDeleteBulkRequestBuilder ( buildAllDeleteRequestBuilderList ( index , type ) ) ) . hasFailures ( ) ; }
Delete bulk docs boolean.

@param index the index
@param type  the type
@return the boolean