lib/sunspot/solr/installer/config_installer.rb in sunspot_solr-2.0.0 vs lib/sunspot/solr/installer/config_installer.rb in sunspot_solr-2.1.0
- old
+ new
@@ -37,9 +37,16 @@
end
say("Copying #{file} => #{dest}")
FileUtils.cp(file, dest)
end
+
+ # Also copy the solr.xml file for multi core support
+ file = File.expand_path('../solr.xml', sunspot_config_path)
+ dest = File.expand_path(File.join(@config_path, ".."), File.basename(file))
+ say("Copying #{file} => #{dest}")
+ FileUtils.cp(file, dest)
+
end
end
end
end
end