Class: ThinkingSphinx::Deletion::PlainDeletion

Inherits:
ThinkingSphinx::Deletion show all
Defined in:
lib/thinking_sphinx/deletion.rb

Instance Method Summary collapse

Methods inherited from ThinkingSphinx::Deletion

#initialize, perform

Constructor Details

This class inherits a constructor from ThinkingSphinx::Deletion

Instance Method Details

#performObject



42
43
44
45
46
# File 'lib/thinking_sphinx/deletion.rb', line 42

def perform
  execute Riddle::Query.update(
    name, document_id_for_key, :sphinx_deleted => true
  )
end