如何使用C#使用lucene搜索引擎检查错误或错误拼写 [英] How to check wrong or mis spell using lucene search engine with C#

查看:118
本文介绍了如何使用C#使用lucene搜索引擎检查错误或错误拼写的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Guys !!



在Lucene Search中搜索书名时,我被困在1点。



我用1个例子给出场景。



假设我有一个搜索字符串 - 五十度灰。我错误地输入了figty而不是五十。因此它不会返回任何结果。



我需要的是,如果用户输入错误或拼写错误,则将其转换为正确的拼写并使用Lucence进行相应搜索。 br $> b $ b

请帮帮我。我是Lucene的新人。



提前致谢!!!



Amit Tiwari



我尝试了什么:



我不知道应该尝试什么。



我等待回复。





谢谢

Hello Guys!!

I am getting stuck on 1 point while searching book name in Lucene Search.

I am giving scenario using 1 example.

Suppose I have a search string - "fifty shades of grey". By mistake i entered "figty" instead of "fifty". So it will not return any result.

what I need that, if user enter wrong or misspell, then it convert it into correct spell and search accordingly using Lucence.

Please help me. I m new in Lucene.

Thanks in Advance!!!

Amit Tiwari

What I have tried:

I have no idea that what should I tried.

I m waiting for response.


Thanks

推荐答案

你需要做自己的研究。



尝试其中一些资源 [ ^ ]
You need to do your own research.

Try some of these resources[^]


这篇关于如何使用C#使用lucene搜索引擎检查错误或错误拼写的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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