如何在ASP.Net站点中实现Lucene.Net搜索引擎 [英] How to implement Lucene.Net search engine in ASP.Net Site
问题描述
我想在asp.Net中实现网站搜索。我遇到过Lucene.Net
DotLucene:使用37行代码对您的Intranet或网站进行全文搜索 [ ^ ]
我如何将它用于动态内容。就像我有以下数据库结构。
id,title,contentfilepath。 contentfilepath有文件名,由cms面板中的html编辑器创建,并保存在根目录下的指定文件夹中。我也实现了url重写。如何实现搜索?
I want to implement site search in asp.Net. I have come across Lucene.Net
DotLucene: Full-Text Search for Your Intranet or Website using 37 Lines of Code[^]
How could I use it for dynamic content. Like I have following db structure.
id,title,contentfilepath. contentfilepath has filename which is created by html editor in cms panel and saved in specified folder in root directory. I have also implemented url rewriting for the same. How can I implement search ?
推荐答案
请检查可能会有所帮助。
介绍Lucene.Net [ ^ ]
http://www .thebestcsharpprogrammerintheworld.com /博客/如何对创建和搜查-A-lucene的净指数式-4-简单步骤-使用-C-尖锐阶梯1.aspx [< a href =http://www.thebestcsharpprogrammerintheworld.com/blogs/how-to-create-and-search-a-lucene-net-index-in-4-simple-steps-using-c-sharp-step- 1.aspxtarget =_ blanktitle =新窗口> ^ ]
http://ifdefined.co m / blog / post / full-text-search-in-aspnet-using-lucenenet.aspx [ ^ ]
Please check may be helpful.
Introducing Lucene.Net[^]
http://www.thebestcsharpprogrammerintheworld.com/blogs/how-to-create-and-search-a-lucene-net-index-in-4-simple-steps-using-c-sharp-step-1.aspx[^]
http://ifdefined.com/blog/post/full-text-search-in-aspnet-using-lucenenet.aspx[^]
这篇关于如何在ASP.Net站点中实现Lucene.Net搜索引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!