Elasticsearch vs Lucene: What are the differences?
What is Elasticsearch? Open Source, Distributed, RESTful Search Engine. Elasticsearch is a distributed, RESTful search and analytics engine capable of storing data and searching it in near real time. Elasticsearch, Kibana, Beats and Logstash are the Elastic Stack (sometimes called the ELK Stack).
What is Lucene? A high-performance, full-featured text search engine library written entirely in Java. Lucene Core, our flagship sub-project, provides Java-based indexing and search technology, as well as spellchecking, hit highlighting and advanced analysis/tokenization capabilities.
Elasticsearch belongs to "Search as a Service" category of the tech stack, while Lucene can be primarily classified under "Search Engines".
Some of the features offered by Elasticsearch are:
- Distributed and Highly Available Search Engine.
- Multi Tenant with Multi Types.
- Various set of APIs including RESTful
On the other hand, Lucene provides the following key features:
- over 150GB/hour on modern hardware
- small RAM requirements -- only 1MB heap
- incremental indexing as fast as batch indexing
Elasticsearch is an open source tool with 42.4K GitHub stars and 14.2K GitHub forks. Here's a link to Elasticsearch's open source repository on GitHub.
Uber Technologies, Instacart, and Slack are some of the popular companies that use Elasticsearch, whereas Lucene is used by Twitter, Slack, and Evernote. Elasticsearch has a broader approval, being mentioned in 2002 company stacks & 977 developers stacks; compared to Lucene, which is listed in 33 company stacks and 9 developer stacks.
Sign up to add or upvote prosMake informed product decisions
Sign up to add or upvote consMake informed product decisions
What is Elasticsearch?
What is Lucene?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to get full access to all the companiesMake informed product decisions
Sign up to get full access to all the tool integrationsMake informed product decisions