更喜欢Apache Lucene而不是Solr的情况? [英] Situations to prefer Apache Lucene over Solr?

查看:169
本文介绍了更喜欢Apache Lucene而不是Solr的情况?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Solr 1.4(开箱即用的分面搜索,分组,复制,http管理与luke,......)有几个优点。

There are several advantages to use Solr 1.4 (out-of-the-box facetting search, grouping, replication, http administration vs. luke, ...).

即使我在我的Java应用程序中嵌入了搜索功能,我也可以使用 SolrJ 来避免使用Solr时的HTTP权衡。是否推荐SolrJ?

Even if I embed a search-functionality in my Java application I could use SolrJ to avoid the HTTP trade-off when using Solr. Is SolrJ recommended at all?

那么,您何时会建议使用纯Lucene?它有更好的性能还是需要更少的RAM?是否可以更好地进行单元测试?

So, when would you recommend to use "pure-Lucene"? Does it have a better performance or requires less RAM? Is it better unit-testable?

PS:我知道这个问题

推荐答案

如果您有一个Web应用程序,请使用Solr - 我'尝试整合两者,Solr更容易。否则,如果你不需要Solr的功能(想到最重要的是分面搜索),那么使用Lucene。

If you have a web application, use Solr - I've tried integrating both, and Solr is easier. Otherwise, if you don't need Solr's features (the one that comes to mind as being most important is faceted search), then use Lucene.

这篇关于更喜欢Apache Lucene而不是Solr的情况?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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