有人可以将模糊查询与LuceneDictionary解决方案进行比较吗?

时间:2022-04-20 01:30:20

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?

根据这篇关于如何在lucene中查询auto-completionsuggestions的帖子,获得“你的意思”功能最好是使用LuceneDictionary。但在阅读这篇文章之前,我可能会使用模糊查询。现在我想知道哪个更快,哪个更容易实现?

1 个解决方案

#1


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.

你看过Lucene的一些NGram包装器吗?它们是在Lucene中实现“你是说”功能的最佳方式。我找到了这个文档的页面。

#1


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.

你看过Lucene的一些NGram包装器吗?它们是在Lucene中实现“你是说”功能的最佳方式。我找到了这个文档的页面。