Did you try the setting 'onlyMorePopular' ?

http://wiki.apache.org/solr/SpellCheckComponent#spellcheck.onlyMorePopular


André Maldonado wrote:
> 
> Hi all.
> 
> I'm configuring spell checking in my index. Everything is working, but I
> want to get the best suggestion based in number of ocurrences, and not in
> the way Solr defines. So,, let me giva an example:
> 
> Query: "apartamemy"
> 
> Suggestions:
> <arr name="suggestion">
>   <str>apartamemto</str>
>   <str>apartameto</str>
>   <str>apartameno</str>
>   <str>apartament</str>
>   <str>apartamen</str>
>   <str>apartamentyo</str>
>   <str>apartamento</str>
>   <str>apartamente</str>
>   <str>apartametos</str>
>   <str>apartametno</str>
> </arr>
> 
> The best suggestion, by solr,  is "apartamemto", but the really best
> suggestion (based on number of occurrences) is "apartamento".
> 
> How can I change this?
> 
> Thanks
> 
> "Então aproximaram-se os que estavam no barco, e adoraram-no, dizendo: És
> verdadeiramente o Filho de Deus." (Mateus 14:33)
> 
> 

-- 
View this message in context: 
http://old.nabble.com/SpellCheck-configuration-tp27743634p27747165.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to