def index(record_or_hash, options = {})
      klass, id = class_and_id(record_or_hash)
      Entry.enqueue(self, klass, id, false, options[:priority] || self.class.default_priority)
    end
def index(record_or_hash, options = {})
      klass, id = class_and_id(record_or_hash)
      Entry.enqueue(self, klass, id, false, options[:priority] || self.class.default_priority)
    end
Add a record to be indexed to the queue. The record can be specified as either an indexable object or as
 as hash with :class and :id keys. The priority to be indexed can be passed in the options as +:priority+
 (defaults to 0).