DirectSorlSpellChecker does not create a dictionary.  It uses the field you 
specify and uses the Lucene term dictionary.  It uses the some of the same code 
Fuzzy Search uses to calculate distance between user input and indexed terms.

If you're wondering about the affect of configuration changes you make, let us 
see the "before" and "after" configuration, and we can probably give more 
specifics.

James Dyer
Ingram Content Group
(615) 213-4311


-----Original Message-----
From: Erick Erickson [mailto:erickerick...@gmail.com] 
Sent: Wednesday, July 17, 2013 7:20 AM
To: solr-user@lucene.apache.org
Subject: Re: Config changes in solr.DirectSolrSpellCheck after index is built?

I don't know the code well, but anything that
mentions "index based spellcheck" would
presumably require re-indexing.

But I'd also guess it depends on the changes.
Any changes to _how_ the index is _used_
shouldn't require re-indexing. But changing
how the tokens are put _into_ the index should.

But like I said, I'm speculating a bit.

Best
Erick

On Tue, Jul 16, 2013 at 10:48 AM, Brendan Grainger
<brendan.grain...@gmail.com> wrote:
> Hi All,
>
> Can you change the configuration of a spellchecker
> using solr.DirectSolrSpellCheck after you've built an index? I know that
> this spellchecker doesn't build and index off to the side like
> the IndexBasedSpellChecker so I'm wondering what's happening internally to
> create a spellchecking dictionary.
>
> Thanks
> Brendan
>
> --
> Brendan Grainger
> www.kuripai.com


Reply via email to