Situations to prefer Apache Lucene over Solr?(在 Solr 上更喜欢 Apache Lucene 的情况?)
问题描述
使用 Solr 1.4 有几个优点(开箱即用的分面搜索、分组、复制、http 管理与卢克……).
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.
这篇关于在 Solr 上更喜欢 Apache Lucene 的情况?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Solr 上更喜欢 Apache Lucene 的情况?


基础教程推荐
- 验证是否调用了所有 getter 方法 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 从 python 访问 JVM 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 多个组件的复杂布局 2022-01-01