tags:

views:

47

answers:

3

i am having problem of implementing this suggestion to my bangla search engine. could anyone kindly help me out?

+1  A: 

Look at Apache Solr (built using Lucene), it offers you this functionality built-in.

To do this by yourself using Lucene would need considerable effort and knowledge of n-grams, string distances etc. So why reinvent the wheel, if solr does it for you.

Mikos
A: 

Look in the contrib/spellchecker folder. I don't know that I would agree with Mikos that it takes "considerable effort" to set it up, but as with everything else in Lucene, it's easier to just use Solr.

Xodarap
A: 

Beware of the Solr spellchecker, the last version is not fully stable and can provoke grave exceptions.

The ticket is open on https://issues.apache.org/jira/browse/SOLR-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Guillaume Lebourgeois