You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Aleksey Gogolev <po...@dev.co.ua> on 2008/10/14 14:56:21 UTC
spellcheck: problem with word endings
Hello.
I have a problem with word endings and spellchecker. Here three
examples to explain what is wrong:
1) q=apple
Spelling suggestion is "appl"
2) q=aspire
Spelling suggestion is "aspir"
3) q=battery
Spelling suggestion is "batteri"
There are no docs containing "appl", "aspir" or "batteri". I checked.
How to force spellchecker to return words with right endings?
Thank you for attention.
--
Aleksey Gogolev
developer,
dev.co.ua
Aleksey
Re: spellcheck: problem with word endings
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
You may be using a stemmed field to create the spellcheck index. Does the
solr field has EnglishPorterFilterFactory in the analyzer section?
On Tue, Oct 14, 2008 at 6:26 PM, Aleksey Gogolev <po...@dev.co.ua> wrote:
>
> Hello.
>
> I have a problem with word endings and spellchecker. Here three
> examples to explain what is wrong:
>
> 1) q=apple
> Spelling suggestion is "appl"
> 2) q=aspire
> Spelling suggestion is "aspir"
> 3) q=battery
> Spelling suggestion is "batteri"
>
> There are no docs containing "appl", "aspir" or "batteri". I checked.
> How to force spellchecker to return words with right endings?
>
> Thank you for attention.
>
>
>
> --
> Aleksey Gogolev
> developer,
> dev.co.ua
> Aleksey
>
>
--
Regards,
Shalin Shekhar Mangar.