如何为知识库系统构建搜索引擎?

时间:2023-01-24 18:21:35

I need to build full-text search functionality into our knowledge base system using C#. How do I start?

我需要使用C#在我们的知识库系统中构建全文搜索功能。我该如何开始?

3 个解决方案

#1


2  

For example from Lucene:

例如来自Lucene:

http://lucene.apache.org/java/docs/

C# port is here http://incubator.apache.org/lucene.net/

C#端口在这里http://incubator.apache.org/lucene.net/

You should also read something about the the information retrieval, and you can start with this one : http://www.amazon.com/Modern-Information-Retrieval-Ricardo-Baeza-Yates/dp/020139829X

您还应该阅读有关信息检索的内容,您可以从以下内容开始:http://www.amazon.com/Modern-Information-Retrieval-Ricardo-Baeza-Yates/dp/020139829X

#2


2  

I use Lucene.Net in my open source bug tracking application, BugTracker.NET. Download it and look at my_lucene.cs - which does the indexing - and search_text.aspx - which does the searching. I went from knowing nothing about Lucene to being able to integrate it into my app in just a weekend.

我在我的开源bug跟踪应用程序BugTracker.NET中使用Lucene.Net。下载它并查看my_lucene.cs - 它执行索引 - 和search_text.aspx - 进行搜索。我对Lucene一无所知,只能在一个周末将它集成到我的应用程序中。

I explain it here:
http://www.ifdefined.com/blog/post/2009/02/Full-Text-Search-in-ASPNET-using-LuceneNET.aspx

我在这里解释一下:http://www.ifdefined.com/blog/post/2009/02/Full-Text-Search-in-ASPNET-using-LuceneNET.aspx

#3


0  

You will probably need an indexing facility if your text base is non trivial.

如果你的文本库不重要,你可能需要一个索引工具。

#1


2  

For example from Lucene:

例如来自Lucene:

http://lucene.apache.org/java/docs/

C# port is here http://incubator.apache.org/lucene.net/

C#端口在这里http://incubator.apache.org/lucene.net/

You should also read something about the the information retrieval, and you can start with this one : http://www.amazon.com/Modern-Information-Retrieval-Ricardo-Baeza-Yates/dp/020139829X

您还应该阅读有关信息检索的内容,您可以从以下内容开始:http://www.amazon.com/Modern-Information-Retrieval-Ricardo-Baeza-Yates/dp/020139829X

#2


2  

I use Lucene.Net in my open source bug tracking application, BugTracker.NET. Download it and look at my_lucene.cs - which does the indexing - and search_text.aspx - which does the searching. I went from knowing nothing about Lucene to being able to integrate it into my app in just a weekend.

我在我的开源bug跟踪应用程序BugTracker.NET中使用Lucene.Net。下载它并查看my_lucene.cs - 它执行索引 - 和search_text.aspx - 进行搜索。我对Lucene一无所知,只能在一个周末将它集成到我的应用程序中。

I explain it here:
http://www.ifdefined.com/blog/post/2009/02/Full-Text-Search-in-ASPNET-using-LuceneNET.aspx

我在这里解释一下:http://www.ifdefined.com/blog/post/2009/02/Full-Text-Search-in-ASPNET-using-LuceneNET.aspx

#3


0  

You will probably need an indexing facility if your text base is non trivial.

如果你的文本库不重要,你可能需要一个索引工具。