Initial version of solr module
This commit is contained in:
parent
317780be0f
commit
0630f22306
7 changed files with 321 additions and 0 deletions
10
solr/templates/solr.xml.erb
Normal file
10
solr/templates/solr.xml.erb
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<solr persistent="false" sharedLib="lib">
|
||||
<cores adminPath="/admin/cores">
|
||||
<% @solr_core.each do |core| -%>
|
||||
<core name="<%= core %>" instanceDir="<%= core %>">
|
||||
<property name="dataDir" value="/srv/solr/index/<%= core %>" />
|
||||
</core>
|
||||
<% end -%>
|
||||
</cores>
|
||||
</solr>
|
Loading…
Add table
Add a link
Reference in a new issue