by burnmaster · 8y ago · 0 comments
It should be noted:
[1] Unlike MongoDB (which is a ground-up build), Elasticsearch is basically an API layer on top of Apache Lucene. This is relevant because they haven't built and don't maintain, control, or own the source of their primary IP.
[2] Unlike MongoDB (General Purpose) Elasticsearch is a single purpose database and good at/used for one thing and one thing only. It searches text fields for text.
So its potential use cases and thus marketshare is far more limited.
[3] Posts on stackoverflow with the tag:
elasticsearch × 34,253 mongodb x 103,478
Lots of people use it for analytics (checkout their aggregation/time series queries) as well as analyzing huge logs. Some people are starting to use it for machine learning use cases too.
MongoDB aggregation feels like writing code in assembler.
Elastic is used for search, log analysis and analytics.
MongoDB owns their code - Elastic does not own Lucene.
[1] You don't understand their IP if you think it's Lucene. It really, really isn't.
[2] It's not single purpose anything. I've used it for search engines, event buses and as document stores. It's multi-purpose and more dependable at scale and under duress than Mongo thanks to sitting on top of the JVM.
[3] Stackoverflow stats don't mean anything. What are you trying to imply?