Manually merge abusesa::search and solr from parameterize

This commit is contained in:
Ossi Salmi 2014-03-10 09:57:39 +02:00
parent a5a7b8f15c
commit 695f353f3b
3 changed files with 99 additions and 73 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<solr persistent="false" sharedLib="lib">
<cores adminPath="/admin/cores" host="${host:}" hostPort="${jetty.port:8983}" hostContext="${hostContext:solr}">
<% @solr_core.each do |core| -%>
<% @cores.each do |core| -%>
<core name="<%= core %>" instanceDir="<%= core %>">
<property name="dataDir" value="/srv/solr/index/<%= core %>" />
</core>