Can someone compare a Fuzzy Query to a LuceneDictionary solution?
-
03-07-2019 - |
Question
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?
Solution
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow