Method: Elastictastic::BulkPersistenceStrategy#destroy!

Defined in:
lib/elastictastic/bulk_persistence_strategy.rb

#destroy!(index, type, id, routing, parent) ⇒ Object



70
71
72
73
74
75
# File 'lib/elastictastic/bulk_persistence_strategy.rb', line 70

def destroy!(index, type, id, routing, parent)
  add(
    index, id,
    :delete => bulk_identifier(index, type, id, routing, parent, nil)
  )
end