天天看點

solr 與 elasticsearch的比較 (翻譯)

[url]http://stackoverflow.com/a/10213568/445908[/url]

There are many comparisons between Apache Solr and ElasticSearch available, so I'll reference those I found most useful myself, i.e. covering the most important aspects:

大家對這兩者的比較工作做的很多,我隻引用我看來最有價值的文章:

Bob Yoplait already linked kimchy's answer to ElasticSearch, Sphinx, Lucene, Solr, Xapian. Which fits for which usage?, which summarizes the reasons why he went ahead and created ElasticSearch, which in his opinion provides a much superior distributed model and ease of use in comparison to Solr.

BOB的文章列舉了他選擇 ElasticSearch的原因: 與Solr比較, ElasticSearch 提供了非常棒的分布式模型,以及易于使用。

Ryan Sonnek's Realtime Search: Solr vs Elasticsearch provides an insightful analysis/comparison and explains why he switched from Solr to ElasticSeach, despite being a happy Solr user already - he summarizes this as follows:

Ryan 這篇文章( solv vs elasticsearch) 做了深入的對比,解釋了他告别Solr 投入 ElasticSearch懷抱的原因。 盡管他已經是一個很不錯的Solr使用者,不過還是有這樣的話:

Solr may be the weapon of choice when building standard search applications, but Elasticsearch takes it to the next level with an architecture for creating modern realtime search applications. Percolation is an exciting and innovative feature that singlehandedly blows Solr right out of the water. Elasticsearch is scalable, speedy and a dream to integrate with. Adios Solr, it was nice knowing you.

Solr 隻是建立“标準檢索應用”的有力武器,但是 Elasticsearch 則更上一層樓: 建立最新潮的 “實時檢索應用”。 它憑借 新特性Percolation 把Solr 徹底打敗,而且有高度的擴充性,高速度,它就是我夢寐以求的。 Solr,認識你很高興,不過還是再見吧~

在這個著名的對比文章裡 [url]http://engineering.socialcast.com/2011/05/realtime-search-solr-vs-elasticsearch/[/url]

ElasticSearch 的作者 Shay Banon says:

“NRT commit” solves it for the single node case, but in the distributed case, you really need a distributed model that supports it. Solr, currently, does not, while elasticsearch does.

NRT commit (接近于實時送出)隻适用于單節點的情況。對于分布式的情況則不适合。 現在看來,Solr不支援分布式。 而 ElasticSearch 可以。

繼續閱讀