比较的时候,主要关注以下几个方面:
很显然, Solr跟Lucene是一家,所以,对Lucene做了很多扩展,与lucene的集成也比较好,而且,业界貌似求稳的都会选择Solr来构建他们的搜索体系。
但SolrCloud才是最终的理想解决方案,而SolrCloud还没有production-ready。
下面是Solr相关的架构图:
Solr的首页上对自己的特性罗列阐述的很详细了,这里不再赘述。
摘录在John Wang的访谈片段:
Sensei leverages Lucene.
We weren’t able to leverage Solr because of the following requirements:
* High update requirement, 10’s of thousands updates per second in to the system
* Real distributed solution, current Solr’s distributed story has a SPOF at the master, and Solr Cloud is not yet completed.
* Complex faceting support. Not just your standard terms based faceting. We needed to facet on social graph, dynamic time ranges and many other interesting faceting scenarios. Faceting behavior also needs to be highly customizable, which is not available via Solr.
##References 1. Introducing SenseiDB 1.0: an open-source, distributed, realtime, semi-structured database 2. Sensei: distributed, realtime, semi-structured database
很新,当前0.19RC3版本, 文档缺乏
不过, ES确实有很多值得喝彩的地方。