diff --git a/lib/tasks/search_index.rake b/lib/tasks/search_index.rake new file mode 100644 index 00000000..28bb021e --- /dev/null +++ b/lib/tasks/search_index.rake @@ -0,0 +1,10 @@ +# encoding: utf-8 + +namespace :search_index do + task :once => :environment do + Bulletin.import + ArchiveFileCategory.import + ArchiveFile.import + puts "Done Indexing" + end +end \ No newline at end of file