Comparison

Elasticsearch vs OpenSearch

OpenSearch is a fork of Elasticsearch 7.10 created by AWS in 2021 after Elastic changed its license. Today they diverge in features.

AspectElasticsearchOpenSearch
LicenseSSPL, Elastic License 2.0 and AGPLv3 (added in 2024)Apache-2.0
MaintainerElastic N.V.OpenSearch Software Foundation (Linux Foundation), AWS among the main contributors
OriginFirst release 2010Fork of 7.10 in 2021
SecurityCore security features are free in base versionsSecurity plugin is built in and free
Vector searchDense vector, kNN, ML integrationsk-NN plugin, neural search
EcosystemKibana, Beats, Logstash (ELK stack), Elastic CloudOpenSearch Dashboards, Data Prepper, Amazon OpenSearch Service
CompatibilityNew APIs since version 8 differBased on the 7.10 API, new features are separate
Best forSearch and observability with the newest feature setAWS environment, need for Apache-2.0 and neutral governance

Choose Elasticsearch when

  • You need the newest Elastic features and its ecosystem.
  • You use Elastic Cloud.
  • The SSPL or AGPL license is acceptable.

Choose OpenSearch when

  • You run in AWS on Amazon OpenSearch Service.
  • You need a true open source Apache-2.0 license.
  • You value neutral project governance.

Bottom line

For basic jobs (full-text search, logs) they are interchangeable. Choose by cloud and license: AWS leans to OpenSearch, Elastic Cloud to Elasticsearch.

Compared

Logos belong to their owners and are used for identification only. Icons: Simple Icons (CC0), Devicon (MIT).