Method: Sunspot::Rails::Searchable::ClassMethods#solr_remove_all_from_index!
- Defined in:
- lib/sunspot/rails/searchable.rb
#solr_remove_all_from_index! ⇒ Object
Remove all instances of this class from the Solr index and immediately commit.
172 173 174 |
# File 'lib/sunspot/rails/searchable.rb', line 172 def solr_remove_all_from_index! Sunspot.remove_all!(self) end |