Lucene搜索和索引有什么优点?

发布于 2024-08-28 06:59:14 字数 124 浏览 4 评论 0原文

我想知道,Lucene搜索和索引有什么优势?

使用 Lucene 进行搜索是否与其他搜索算法(如快速搜索)一样快? 索引怎么样?

我想更多地了解Lucene而不是其他人的优势。

谢谢 。

I want to know , What is the advantage of Lucene searching and indexing ?

Is searching with Lucene as fast as other searching algorithm like Quick Search?
What about indexing ?

I want to know more about advantage of Lucene rather that others .

thanks .

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

放我走吧 2024-09-04 06:59:15

我相信你希望我们比较两个无可比拟的事物。
快速搜索是一种字符串搜索算法,旨在查找长文本文档中的字符串。

Lucene 是一个搜索库,旨在索引和搜索文档集合,对结果进行排名。

更合理的比较是 Lucene 与其他搜索库。 这是一个这样的比较。

如果您提供有关预期应用程序的一些背景,SO 社区可能能够首先推荐一种方法,然后推荐该方法中的特定软件工具。

I believe you want us to compare two incomparable things.
Quick Search is a string search algorithm, meant to find a string in a long text document.

Lucene is a search library, meant to index and search a collection of documents, ranking the results as it goes.

A more reasonable comparison is of Lucene versus other search libraries. Here's one such comparison.

If you provide some background about your intended application, the SO community may be able to recommend, first an approach, and then a specific software tool inside that approach.

ぇ气 2024-09-04 06:59:15

您应该通过 google 倒排索引和搜索引擎来更好地了解 Lucene。

Lucene 是一个非常流行的搜索引擎库,拥有活跃的社区和大量现实世界的实现(经过实战测试)。如果您想构建一个搜索引擎,Lucene(或 Solr - 围绕 Lucene 构建)应该位于您的列表的顶部。

You should google inverted index and search engines to get a better idea of Lucene.

Lucene is a very popular search engine library, with an active community and a host of real world implementations (battle tested).If you are looking to build a search engine, Lucene (or Solr - which is built around Lucene) should be at the top of your list.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文