module Elasticord::Client::Delete
Public Instance Methods
all(elastic_search_client, index)
click to toggle source
# File lib/elasticord/client/delete.rb, line 6 def all(elastic_search_client, index) begin elastic_search_client.indices.delete index: index rescue Elasticsearch::Transport::Transport::Errors::NotFound return true end end