http://stackoverflow.com/a/10213568/445908

TherearemanycomparisonsbetweenApacheSolrandElasticSearchavailable,soI'llreferencethoseIfoundmostusefulmyself,i.e.coveringthemostimportantaspects:

大家对这两者的比较工作做的很多,我只引用我看来最有价值的文章:

BobYoplaitalreadylinkedkimchy'sanswertoElasticSearch,Sphinx,Lucene,Solr,Xapian.Whichfitsforwhichusage?,whichsummarizesthereasonswhyhewentaheadandcreatedElasticSearch,whichinhisopinionprovidesamuchsuperiordistributedmodelandeaseofuseincomparisontoSolr.

BOB的文章列举了他选择ElasticSearch的原因:与Solr比较,ElasticSearch提供了非常棒的分布式模型,以及易于使用。

RyanSonnek'sRealtimeSearch:SolrvsElasticsearchprovidesaninsightfulanalysis/comparisonandexplainswhyheswitchedfromSolrtoElasticSeach,despitebeingahappySolruseralready-hesummarizesthisasfollows:

Ryan这篇文章(solvvselasticsearch)做了深入的对比,解释了他告别Solr投入ElasticSearch怀抱的原因。尽管他已经是一个很不错的Solr用户,不过还是有这样的话:

Solrmaybetheweaponofchoicewhenbuildingstandardsearchapplications,butElasticsearchtakesittothenextlevelwithanarchitectureforcreatingmodernrealtimesearchapplications.PercolationisanexcitingandinnovativefeaturethatsinglehandedlyblowsSolrrightoutofthewater.Elasticsearchisscalable,speedyandadreamtointegratewith.AdiosSolr,itwasniceknowingyou.

Solr只是建立“标准检索应用”的有力武器,但是Elasticsearch则更上一层楼:建立最新潮的“实时检索应用”。它凭借新特性Percolation把Solr彻底打败,而且有高度的扩展性,高速度,它就是我梦寐以求的。Solr,认识你很高兴,不过还是再见吧~

在这个著名的对比文章里http://engineering.socialcast.com/2011/05/realtime-search-solr-vs-elasticsearch/

ElasticSearch的作者ShayBanonsays:

“NRTcommit”solvesitforthesinglenodecase,butinthedistributedcase,youreallyneedadistributedmodelthatsupportsit.Solr,currently,doesnot,whileelasticsearchdoes.

NRTcommit(接近于实时提交)只适用于单节点的情况。对于分布式的情况则不适合。现在看来,Solr不支持分布式。而ElasticSearch可以。