kavinash
kavinash

Reputation: 11

how to add "did you mean" in nutch-lucene search engine

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

Upvotes: 1

Views: 275

Answers (3)

Guillaume Lebourgeois
Guillaume Lebourgeois

Reputation: 3873

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

Upvotes: 0

Xodarap
Xodarap

Reputation: 11849

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.

Upvotes: 0

Mikos
Mikos

Reputation: 8563

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.

Upvotes: 1

Related Questions