I'm hoping to use Solr version 1.4 but in the meantime I'm trying to get
replication to work in version 1.3.  I'm running Tomcat as a Windows
service and have Cygwin installed.  I'm trying to get the snapshooter
script to run with the following in my solrconfig.xml:

 

    <listener event="postOptimize" class="solr.RunExecutableListener">

      <str name="exe">c:/cygwin/bin/bash-test.bat</str>

      <str name="dir"></str>

      <bool name="wait">true</bool>

    </listener>

 

(The batch file executes: c:\cygwin\bin\bash -c
'/cygdrive/c/apps/prod/TomcatSolr/Solr/bin/snapshooter')

This batch file runs but it apparently freezes when running the
snapshooter script.  Obviously I'm going about this the wrong way.
Anyone have pointers on what I might be doing wrong?

 

Thanks!

Laurent

Reply via email to