Exception: ThinkingSphinx::StaleIdsException
- Inherits:
-
StandardError
- Object
- StandardError
- ThinkingSphinx::StaleIdsException
- 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
-
#ids ⇒ Object
Returns the value of attribute ids.
Instance Method Summary collapse
-
#initialize(ids) ⇒ StaleIdsException
constructor
A new instance of StaleIdsException.
Constructor Details
#initialize(ids) ⇒ StaleIdsException
Returns a new instance of StaleIdsException.
45 46 47 |
# File 'lib/thinking_sphinx.rb', line 45 def initialize(ids) self.ids = ids end |
Instance Attribute Details
#ids ⇒ Object
Returns the value of attribute ids.
44 45 46 |
# File 'lib/thinking_sphinx.rb', line 44 def ids @ids end |