On 8/14/07, Wu, Daniel <[EMAIL PROTECTED]> wrote: > Thanks for the explaination. I finally get the event listener working. > To close the record, I listed the working configuration below. It is > sometime useful to use relative path in the case of setting multiple > solr instances on the same server or have to set up dev / test > environments that may not have the exact directory structure as the > directory of the final production environment. > > <listener event="postCommit" class="solr.RunExecutableListener"> > <str name="exe">solr/bin/snapshooter</str> > <str name="dir">.</str> > <bool name="wait">true</bool> > <arr name="args"> <str>arg1</str> <str>arg2</str> </arr> > <arr name="env"> <str>MYVAR=val1</str> </arr> > </listener> > > Is it possible to update the example config file enclosed in the > distribution as it is not working.
done. -Yonik