I created one. https://issues.apache.org/jira/browse/SOLR-780

By the way you pointed out that <str name="buildOnCommit">true</str>
would solve the problem, but that doesn't make it rebuild on startup right?
This works at rebuilding the index with every update, which is different.


Shalin Shekhar Mangar wrote:
> 
> On Fri, Sep 19, 2008 at 10:07 PM, oleg_gnatovskiy <
> [EMAIL PROTECTED]> wrote:
> 
>>
>> Is there any way to do it for an external (file-based) dictionary?
>>
> 
> SpellCheckComponent always reload on the dictionary in the firstSearcher
> event. This works if you are using file system based index. However with
> RAMDirectory, reload does nothing. You need to explicitly call
> spellcheck.build on firstSearcher. The configuration snippet for
> firstSearcher you posted seems fine. I'll run a test locally to see if I
> can
> reproduce the problem.
> 
> Can you open a jira issue so that we can enhance SpellCheckComponent to
> automatically build on firstSearcher in case of RAMDirectory based
> indices?
> 
> -- 
> Regards,
> Shalin Shekhar Mangar.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/firstSearcher-and-newSearcher-events-tp19564163p19576665.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to