lib/thinking_sphinx/tasks.rb in friendlyfashion-thinking-sphinx-2.0.14.1 vs lib/thinking_sphinx/tasks.rb in friendlyfashion-thinking-sphinx-2.0.14.2
- old
+ new
@@ -87,9 +87,10 @@
puts "Generating Configuration to #{config.config_file}"
config.build
end
FileUtils.mkdir_p config.searchd_file_path
+ ThinkingSphinx.before_index_hooks.each { |hook| hook.call }
config.controller.index :verbose => true
end
desc "Reindex Sphinx without regenerating the configuration file"
task :reindex => :app_env do