Lucene.Net 最佳实践

Lucene.Net Best Practices(Lucene.Net 最佳实践)
本文介绍了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 最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
quot;Overflowquot; compiler error with -9223372036854775808L(编译器错误-9223372036854775808L(Q;溢出Q))
Visual Studio 2010 ReportViewer Assembly References(Visual Studio 2010 ReportViewer程序集引用)
Weird behaviour when I open a reportviewer in WPF(在WPF中打开报表查看器时出现奇怪的行为)
how do i pass parameters to aspnet reportviewer(如何将参数传递给aspnet report查看器)