Module: RailsPanda::Search::Searchable::InstanceMethods
- Defined in:
- lib/rails_panda_search/searchable.rb
Overview
Instance methods added only to models that call can_search_in
Instance Method Summary collapse
-
#reindex_search! ⇒ Object
Rebuild this record's search index entries across all active strategies.
Instance Method Details
#reindex_search! ⇒ Object
Rebuild this record's search index entries across all active strategies.
96 97 98 99 100 |
# File 'lib/rails_panda_search/searchable.rb', line 96 def reindex_search! RailsPanda::Search.config.active_strategy_classes.each do |strategy| strategy.sync_record!(self, searchable_columns) end end |