Hunspell does not work


(Vinay Gurram) #1

I am using hunspell as explained in
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-hunspell-tokenfilter.html
.
If i type "making a seach", it creates correct tokens "making, make, a ,
search". But if I type "restaOrant" instead of "restaurant", is not
correcting it to "restaurant". Hunspell is a spell checker, so i am
assuming it should do the trick. May be I am wrong, can you please point me
in the right direction to spell checker?

Thank you,

Regards,
Gurram Vinay Venkatakrishna.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/96ed54e4-a3e4-4d74-b467-5379166fc0fa%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Jörg Prante) #2

Hunspell is not used as spell checker in Lucene/Elasticsearch, only as a
stemming dictionary.

If you want spellchecker, use the Elasticsearch suggester
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters.html

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFXmWqj5JXDJ-XaM0y%2BAFKN2WHk-M%3DgRy89aFkAOig9Ng%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Vinay Gurram-2) #3

Thank you for the clarification. I will try the suggester.

Regards,
Gurram Vinay Venkatakrishna

On Thursday, February 6, 2014 1:29:22 PM UTC+5:30, Jörg Prante wrote:

Hunspell is not used as spell checker in Lucene/Elasticsearch, only as a
stemming dictionary.

If you want spellchecker, use the Elasticsearch suggester
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters.html

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5940d963-0813-4d76-887b-ded2fa64ac98%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4