Skip to content

Commit

Permalink
Allow starting solr as root
Browse files Browse the repository at this point in the history
  • Loading branch information
danschmidt5189 committed Dec 3, 2024
1 parent 8b5454f commit 52a55ef
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,14 @@ task :check do

require 'solr_wrapper'
Rake::Task[:setup].invoke
SolrWrapper.wrap do |solr|

solr_wrapper_opts = {
solr_options: {
force: true
}
}

SolrWrapper.wrap(**solr_wrapper_opts) do |solr|
solr.with_collection(name: 'geodata-test', dir: "#{Rails.root}/config/solr") do

# Rake::Task[:coverage].invoke
Expand Down

0 comments on commit 52a55ef

Please sign in to comment.