lib/railties/blacklight.rake in blacklight-4.7.0.pre1 vs lib/railties/blacklight.rake in blacklight-4.7.0
- old
+ new
@@ -8,8 +8,15 @@
task :delete_old_searches, [:days_old] => [:environment] do |t, args|
args.with_defaults(:days_old => 7)
Search.delete_old_searches(args[:days_old].to_i)
end
+ namespace :solr do
+ desc "Put sample data into solr"
+ task :seed do
+ Rake::Task["solr:marc:index_test_data"].invoke
+ end
+ end
+
end