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


基础教程推荐
- 将 XML 转换为通用列表 2022-01-01
- 将 Office 安装到 Windows 容器 (servercore:ltsc2019) 失败,错误代码为 17002 2022-01-01
- c# Math.Sqrt 实现 2022-01-01
- SSE 浮点算术是否可重现? 2022-01-01
- 有没有办法忽略 2GB 文件上传的 maxRequestLength 限制? 2022-01-01
- rabbitmq 的 REST API 2022-01-01
- 如何激活MC67中的红灯 2022-01-01
- 为什么Flurl.Http DownloadFileAsync/Http客户端GetAsync需要 2022-09-30
- MS Visual Studio .NET 的替代品 2022-01-01
- 如何在 IDE 中获取 Xamarin Studio C# 输出? 2022-01-01