On Fri, Sep 19, 2008 at 11:10 PM, oleg_gnatovskiy < [EMAIL PROTECTED]> wrote:
> > I created one. https://issues.apache.org/jira/browse/SOLR-780 > Thanks! > 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. Every spellcheck index is reloaded at firstSearcher event regardless of buildOnCommit. Reload just means re-opening the searcher so that the changes made to the index are taken into account. This is useful because when Solr is started up, a spellcheck index may be present on the disk which can be immeadiately used. However in your case the spellcheck index is backed by a RAMDirectory and the reload command means nothing because nothing is present in the RAM. You need a build instead of reload which is not supported presently. The buildOnCommit is equivalent to calling spellcheck.build=true on the newSearcher event and it is useful only for Solr based dictionaries. -- Regards, Shalin Shekhar Mangar.