Exception: ThinkingSphinx::StaleIdsException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/thinking_sphinx.rb

Overview

A StaleIdsException is thrown by Collection.instances_from_matches if there are records in Sphinx but not in the database, so the search can be retried.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ids) ⇒ StaleIdsException

Returns a new instance of StaleIdsException.



51
52
53
# File 'lib/thinking_sphinx.rb', line 51

def initialize(ids)
  self.ids = ids
end

Instance Attribute Details

#idsObject

Returns the value of attribute ids.



50
51
52
# File 'lib/thinking_sphinx.rb', line 50

def ids
  @ids
end