You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Shalin Shekhar Mangar <sh...@gmail.com> on 2009/10/11 11:25:08 UTC

Re: Snapshot is not created when I added spellchecker with buildOnCommit

On Thu, Oct 8, 2009 at 6:16 AM, marklo <ma...@pcmall.com> wrote:

>
> i've enabled the snapshooter to run after commit and it's working fine
> until
> i've added a spellchecker with
> buildOnCommit = true...  Any idea why?   Thanks
>
>  <updateHandler class="solr.DirectUpdateHandler2">
>    <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>
>
>    <listener event="postOptimize" class="solr.RunExecutableListener">
>      <str name="exe">snapshooter</str>
>      <str name="dir">solr/bin</str>
>      <bool name="wait">true</bool>
>    </listener>
>
>  </updateHandler>
>
>
I'm not able to reproduce the problem. The snapshots are created regardless
of the spellchecker having buildOnCommit on or off.

-- 
Regards,
Shalin Shekhar Mangar.