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.