Sha256: 614d02ede695052c1434240668332aa9e98466843369cd8dd332d83751d85dd9
Contents?: true
Size: 443 Bytes
Versions: 8
Compression:
Stored size: 443 Bytes
Contents
class ThinkingSphinx::Deltas::DeleteJob def initialize(index_name, document_id) @index_name, @document_id = index_name, document_id end def perform ThinkingSphinx::Connection.take do |connection| connection.execute Riddle::Query.update( @index_name, @document_id, :sphinx_deleted => true ) end rescue ThinkingSphinx::ConnectionError => error # This isn't vital, so don't raise the error. end end
Version data entries
8 entries across 8 versions & 1 rubygems