如何在 Lucene.net 中执行语音和近似搜索 [英] How to perform Phonetic and Aproximative search in Lucene.net

查看:25
本文介绍了如何在 Lucene.net 中执行语音和近似搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我阅读 Lucene.net 文档时,我发现的唯一分析器是标准分析器.我想确保我可以对我的索引进行拼音或近似搜索.我应该在 Lucene.net 之上使用一些额外的库吗?

When I read the Lucene.net docs, the only analyzer that I find is the standard one. I want to make sure I can do Phonetic or Aproximative search on my index. Is there some extra library I should use on top of Lucene.net?

推荐答案

您可能想尝试移植 Phonetix 的分析器(Soundex、Metaphone 或 DoubleMetaphone)

You might want to try porting one of Phonetix's analyzers (Soundex, Metaphone or DoubleMetaphone)

这篇关于如何在 Lucene.net 中执行语音和近似搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆