Ron, It might be better for you to look at SOLR-572 issue in Solr's JIRA and use the patch provided there with the Solr trunk.
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Ronald K. Braun <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Tuesday, June 3, 2008 1:29:01 PM > Subject: sp.dictionary.threshold parm of spell checker seems unresponsive > > I'm playing around with the spell checker on 1.3 nightly build and > don't see any effect on changes to the "sp.dictionary.threshold" in > terms of dictionary size. A value of 0.0 seems to create a dictionary > of the same size and content as a value of 0.9. (I'd expect a very > small dictionary in the latter case.) I think sp.dictionary.threshold > is a float parameter, but maybe I'm misunderstanding? > > And just to be sure, I assume I can alter this parameter prior to > issue the "rebuild" command to build the dictionary -- I don't need to > reindex termSourceField between changes? > > My solrconfig.xml has this definition for the handler: > > > class="solr.SpellCheckerRequestHandler" startup="lazy"> > > 30 > 0.5 > > spell > dictionary > 0.9 > > > And schema.xml in case that is somehow relevant: > > > > > > > > > > > > > > > > multiValued="true" omitNorms="true" /> > > Any advice? I'd definitely like to tighten up the dictionary but it > appears to always include terms regardless of their frequency in the > source content. > > Thanks, > > Ron