Lucene.Net最佳实践Lucene、Net

2023-09-03 08:26:12 作者:心上/锁/

什么是使用Lucene.Net的最佳做法是什么?或者我在哪里可以找到一个很好的lucene.net用法示例?

What are the best practices in using Lucene.Net? or where can I find a good lucene.net usage sample?

推荐答案

如果你打算使用Lucene的工作,我会买一本好书,涵盖从A到Z的Lucene有一个非常陡峭的学习曲线(我认为)。它不仅知道如何的搜索的你这是非常重要 - 这也是对的索引的吧。做一个基本的搜索是很容易的,但创建索引,它由数以百万计的数据记录,并仍然能够做一个快如闪电的搜索在它是可能的,但pretty的努力。有没有教程,学习你。

If you're going to work with Lucene, I'd buy a good book that covers it from A to Z. Lucene has a very steep learning curve (in my opinion). It's not only knowing how to search your that's important - it's also about indexing it. Doing a basic search is easy, but creating an index that consists of millions of records of data and still being able to do a lightning fast search over it is possible but pretty hard. There's no tutorial that learns you that.

我建议 Lucene的行动,第二版由迈克尔·麦坎德利斯,埃里克·海切尔和奥的斯的Gospodnetić。尽管它对于Lucene和不Lucene.NET所写的,不应该是一个问题,因为termonology和API的基本相同。

I'd recommend Lucene in Action, Second Edition by Michael McCandless, Erik Hatcher, and Otis Gospodnetić. Though it is written for Lucene and not Lucene.NET, that shouldn't be a problem as the termonology and api's are basically the same.

不过,如果你只是给它一个快速尝试,你可以阅读本网站。这个名字说明了一切: - )

However, if you're just going to give it a quick try, you could read this site. The name says it all :-)