7
Apache Solr 4.0 vs ElasticSearch 0.19 - Dikchant Sahi

Solr vs ElasticSearch

Embed Size (px)

DESCRIPTION

This presentation compares Solr 4.0 with ElasticSearch 0.19

Citation preview

Page 1: Solr vs ElasticSearch

Apache Solr 4.0vs

ElasticSearch 0.19

- Dikchant Sahi

Page 2: Solr vs ElasticSearch

Apache Solr 4.0

Apache Solr is a highly scalable open source enterprise search platform

Primary features include robust full-text search, hit-highlighting, faceted search, rich document handling

Is an Apache top level project Development merged with Apache Lucene Bigger and more mature user, dev and contributor

community Solr 4.0 runs on Lucene 4.0 Allows pluggable search/update components

Page 3: Solr vs ElasticSearch

ElasticSearch 0.19

Open source, distributed, RESTful search engine Works better for real time search applications Supports push queries using percolation JSON in / JSON out Schema Free Multiple document type per schema Supports distributed queries Runs on Lucene 3.6 Structured query DSL

Page 4: Solr vs ElasticSearch

SearchingSolr ElasticSearch

HTTP query string. Multple response formats including XML, JSON, CSV.

REST API or query string. JSON out.

Analyzers predefined Analyzers can be set during query

Push queries not supported Push queries supported through percolation

Supports search across shards. Not separate indexes.

Supports search across multiple indexes

Supports result grouping Result grouping not supported

Supports SpellCheck SpellCheck not supported

Supports query elevation Query elevation/campaign not supported

Page 5: Solr vs ElasticSearch

IndexingSolr ElasticSearch

Single or multiple document per request

Single document with standard call. _bulk endpoint for batch indexing

Multiple format allowed as input including XML, JSON, CSV

JSON in

Supports dataimport for import from DB

No native support for DB read. Plugins available.

Updates require configuration changes Updates require custom work

Flat document structure Supports nested object

Supports deduplication Deduplication not supported

Page 6: Solr vs ElasticSearch

Similarities

Both are built of top of Apache Lucene Both equally scalable Both provide specialized Java API Both provide cloud features Both supports filters, MoreLikeThis Both let's you control cache

Page 7: Solr vs ElasticSearch

References

http://lucene.apache.org/solr/ http://www.elasticsearch.org/ https://github.com/jprante/elasticsearch-riv

er-jdbc http://blog.sematext.com/2012/09/04/solr-v

s-elasticsearch-part-2-data-handling/ http://spinscale.github.com/elasticsearch/2

012-03-jugm.html#/ http://solr-vs-elasticsearch.com/