Skip to content

Commit 577a3dd

Browse files
committed
add blacklight:solr:seed rake task to match blacklight 5.x
1 parent 1742da4 commit 577a3dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/railties/blacklight.rake

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ namespace :blacklight do
1010
Search.delete_old_searches(args[:days_old].to_i)
1111
end
1212

13+
namespace :solr do
14+
desc "Put sample data into solr"
15+
task :seed do
16+
Rake::Task["solr:marc:index_test_data"].invoke
17+
end
18+
end
19+
1320
end
1421

1522

0 commit comments

Comments
 (0)