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 marklo <ma...@pcmall.com> on 2009/10/08 02:46:15 UTC
Snapshot is not created when I added spellchecker with
buildOnCommit
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>
--
View this message in context: http://www.nabble.com/Snapshot-is-not-created-when-I-added-spellchecker-with-buildOnCommit-tp25796857p25796857.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Snapshot is not created when I added spellchecker with
buildOnCommit
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
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.