The lines you have encloses are commented out by the <!-- and -->

Bill

On Mon, Apr 12, 2010 at 1:32 PM, william pink <will.p...@gmail.com> wrote:

> Hi,
>
> I am running Solr 1.2 ( I will be updating in due course)
>
> I am having a few issues with doing the snapshots after a postCommit or
> postOptimize neither appear to work in my solrconfig.xml I have the
> following
>
>
> <!--
>  A postCommit event is fired after every commit or optimize command
>    <listener event="postCommit" class="solr.RunExecutableListener">
>      <str name="exe">snapshooter</str>
>      <str name="dir">/opt/solr/bin</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>
>
> -->
> -
> <!--
>  A postOptimize event is fired only after every optimize command, useful
>         in conjunction with index distribution to only distribute optimized
> indicies
>    <listener event="postOptimize" class="solr.RunExecutableListener">
>      <str name="exe">snapshooter</str>
>      <str name="dir">/opt/solr/bin</str>
>      <bool name="wait">true</bool>
>    </listener>
>
> -->
>
> But a snapshot never gets taken, It's most likely something that I haven't
> spotted but I can't seem to work it out. It's quite possible the route to
> snapshooter might be the issue but I have tried a few different things and
> none have worked.
>
> Any tips appreciated,
>
> Thanks
>
> Will
>

Reply via email to