According to this post on how to do query auto-completionsuggestions in lucene getting "Did You Mean" functionality best involves using a LuceneDictionary. But I probably would have used a fuzzy query for this before reading this post. Now I'm wondering which is faster, which is easier to implement?
Asked
Active
Viewed 741 times
1
-
1You may find helpful this discussion: http://norvig.com/spell-correct.html – mechanical_meat Jun 08 '09 at 15:30
-
While not about Lucene, nor an answer, that page is a good read, and makes Python look awesome. – dlamblin Jun 08 '09 at 20:16
1 Answers
1
Have you looked at some NGram wrappers for Lucene. They are the best ways to do the "did you mean" functionality in Lucene. I found this page for the docs.

Ritesh M Nayak
- 8,001
- 14
- 49
- 78