Commit 630b8afabf809e6d7b7f271d7b25fe08fac76854
Committed by
Daniela Feitosa
1 parent
4e61bfb7
Exists in
master
and in
23 other branches
Fixes for solr
(ActionItem1958)
Showing
2 changed files
with
3 additions
and
1 deletions
Show diff stats
lib/tasks/multitenancy.rake
| ... | ... | @@ -25,7 +25,7 @@ namespace :multitenancy do |
| 25 | 25 | m.rebuild_index |
| 26 | 26 | puts "Rebuilt index for #{m}" if Rake.application.options.trace |
| 27 | 27 | end |
| 28 | - m.paginated_each(:per_page => 50) { |i| i.ferret_update } | |
| 28 | + m.paginated_each(:per_page => 50) { |i| i.solr_save } | |
| 29 | 29 | puts "Reindexed all instances of #{m}" if Rake.application.options.trace |
| 30 | 30 | end |
| 31 | 31 | end | ... | ... |
vendor/plugins/acts_as_solr_reloaded/lib/acts_as_solr/class_methods.rb