Lucene.Net 最佳实践 [英] Lucene.Net Best Practices

查看:21
本文介绍了Lucene.Net 最佳实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 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,我会买一本从头到尾的好书.Lucene 的学习曲线非常陡峭(在我看来).重要的不仅仅是知道如何搜索您的 - 它还涉及索引它.进行基本搜索很容易,但是创建一个包含数百万条数据记录的索引并且仍然能够对其进行闪电般的快速搜索是可能的,但非常困难.没有任何教程可以教你.

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.

我推荐 Michael McCandless、Erik Hatcher 和奥蒂斯·戈斯波德内蒂奇.虽然它是为 Lucene 而不是 Lucene.NET 编写的,但这应该不是问题,因为术语和 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 :-)

这篇关于Lucene.Net 最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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