Method: Sunspot::IndexQueue#errors

Defined in:
lib/sunspot/index_queue.rb

#errors(options = {}) ⇒ Object

Get the entries in the queue that have errors. Supported options are :limit (default 50) and :offset (default 0).



122
123
124
125
# File 'lib/sunspot/index_queue.rb', line 122

def errors(options = {})
  limit = options[:limit] ? options[:limit].to_i : 50
  Entry.errors(self, limit, options[:offset].to_i)
end