259/1A 3rd Floor, ADA Rd, Vinoba Nagar, Naini, Prayagraj, Uttar Pradesh 211010
05323557581, +919555433745 (9am - 8pm IST, Monday - Saturday)
Training | Development | Internship
Elasticsearch is a RESTful and open source search engine built on Apache Lucene under the Apache license. Based on Java, it is used to search and index documents files in various formats. Comparatively, with other search engines, it offers many notable features such as scalable and real-time search, multi-tenancy, JSON format indexing and many more. It helps you to examine and maintain real-time information at a great volume.
General Key features of Elastic search are
Pros of Elasticsearch
Cons of Elasticsearch:
Elasticsearch | Solr |
Although it was started in 2001 by its founder Shay Bannon with the name Compass, Elasticsearch was officially created in 2010. | Solr has a longer history as it was created in 2004 by Yonik Seely at CNET Networks |
It supports only a JSON format | It supports XML, CSV, JSON format. |
Elasticsearch can be called schema-less. | In Solr, you need the managed-schema file to define how your index structure. |
Elasticsearch uses its discovery implementation called Zen. | Solr uses Apache ZooKeeper for discovery and leader election. |
Elasticsearch caches are per segment, which means you only need to refresh a small portion of the cached data, if a single segment changed | Solr has global caches, means invalidated on change of each segment. |
Shard placement is Dynamic, shards can be moved on demand depending on the cluster state. | Static in nature, requires manual work to migrate shards, but later versions from Solr7 allows for some dynamic actions. |