lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: Snapshot is not created when I added spellchecker with buildOnCommit
Date Sun, 11 Oct 2009 09:25:08 GMT
On Thu, Oct 8, 2009 at 6:16 AM, marklo <marklo@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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message