搜索引擎 - Lucene 或 Solr [英] Search Engine - Lucene or Solr

查看:22
本文介绍了搜索引擎 - Lucene 或 Solr的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们需要在我们的产品目录管理软件中集成一个搜索引擎.目录预计将超过4-5百万.具有分布在多个表中的关系数据的记录.我们的开发平台是 Asp.Net 3.5,我们在 Lucene 上做了一些前期工作,发现它很好.然而,我们刚刚开始了解 Solr 并且正在寻找一些实用技巧来比较 Lucene 和Solr 从实现、时间线、定期维护、性能、特性的角度来看.任何指导或指示都会非常有帮助.谢谢.

We need to integrate a search engine in our Product Catalog management software. the catalog is expected to have more than 4-5 mn. records with relational data spread over several tables. Our dev platform is Asp.Net 3.5 and we have done some pre-liminary work on Lucene, found it to be good. However, we just came to know of Solr and was looking for some practical tips to compare Lucene & Solr from implementation, timeline, regular maintenance, performance, features perspective. Any guidance or pointers would be really helpful. Thanks.

推荐答案

Lucene:

Apache Lucene 是一个高性能、全功能的文本搜索引擎库,完全用 Java 编写.这是一项适用于几乎所有需要全文搜索的应用程序的技术

Apache Lucene is a high-performance, full-featured text search engine library written entirely in Java. It is a technology suitable for nearly any application that requires full-text search

索尔:

Solr 是一个基于 Lucene Java 搜索库的开源企业搜索服务器,具有 XML/HTTP 和 JSON API、命中突出显示、分面搜索、缓存、复制、Web 管理界面和......

Solr is an open source enterprise search server based on the Lucene Java search library, with XML/HTTP and JSON APIs, hit highlighting, faceted search, caching, replication, a web administration interface and ...

从本质上讲,Lucene 是嵌入在 Solr 中的,纯粹是一个全文搜索库,目的是嵌入到项目中,为它们提供全文搜索功能.Solr 具有更多的特性和管理功能,允许搜索结构化数据而无需编写任何自定义代码、从 CSV 文件加载数据、用户输入的容忍解析、分面搜索、突出显示结果中匹配的文本以及以各种方式检索搜索结果格式 (XML, JSON, ...) .检查 Solr 功能页面,看看是否有任何功能与您的项目相关.

Essentially, Lucene is embedded in Solr and is purely a full-text search library, with the purpose of being embedded into projects giving them full-text search capabilities. Solr has much more features and administration capabilities, allowing to search structured data without needing to write any custom code, load data from CSV files, tolerant parsing of user input, faceted searching, highlighting matched text in results, and retrieving search results in a variety of formats (XML, JSON, ...) . Check Solr features page and see if any feature is relevant for your project.

这篇关于搜索引擎 - Lucene 或 Solr的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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