本文介绍了Lucene.net搜索引擎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在它20个文本文件的文件夹。我希望索引此文件夹和搜索这些文件中的任何关键字。

I have a folder with 20 text files in it. and I wish to index this folder and search for any keyword among these files.

如何在C#这样做吗?

推荐答案

这是一个很好的介绍lucene.Net:

This is a nice introduction to lucene.Net:



  • Introducing Lucene.Net (CodeProject)

它涵盖了如何创建一个索引,将文档添加到索引的基本知识,最后如何搜索索引。

It covers the basics of how to create an index, add documents to the index and finally how to search your index.

这篇关于Lucene.net搜索引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 11:06
查看更多