Search

Elasticsearch vs OpenSearch

Elasticsearch has 3 supported release lines and OpenSearch has 2. Elasticsearch 9.3 reached end of life on Aug 4, 2026. Elasticsearch offers SSPL-1.0, Elastic-2.0 or AGPL-3.0; OpenSearch is open source (Apache-2.0). OSV.dev lists no advisories from the last 12 months for Elasticsearch or OpenSearch.

Last checked against endoflife.date, deps.dev and OSV.dev.

Side by side

Every value links to its source. Where a row doesn’t apply to one of them, the cell says why.

Support and releases
ElasticsearchOpenSearch
Supported release lines

3 lines: 9.5, 9.4, 8.19

Next to end: 8.19 on Jul 15, 2027

endoflife.date

2 lines: 3, 2

No end dates published

endoflife.date

Latest release

9.5.5

Released Oct 6, 2026

endoflife.date

3.9.0

Released Sep 29, 2026

endoflife.date

Releases in the last 12 months

56 releases

elasticsearch, server artifact

Maven Central

11 releases

opensearch, server artifact

Maven Central

Security
ElasticsearchOpenSearch
Advisories published in the last 12 months

None

For elasticsearch

OSV.dev

None

For opensearch

OSV.dev

OpenSSF Scorecard

6.7 / 10

elastic/elasticsearch, Aug 24, 2026

Scorecard

No Scorecard published

Licence and hosting
ElasticsearchOpenSearch
Licence

SSPL-1.0, Elastic-2.0 or AGPL-3.0

Open source under the AGPL-3.0 option

Elastic left Apache 2.0 in 2021; the default distribution is under the Elastic License 2.0, which forbids offering Elasticsearch as a managed service. AGPLv3 was added as a source-code option in 2024.

elastic.co

Apache-2.0

Open source (permissive)

deps.dev

How you run it

Self-hosted, or Elastic Cloud, the vendor’s managed service

Self-hosted, or Amazon OpenSearch Service

Adoption
ElasticsearchOpenSearch
GitHub stars

78.3K

elastic/elasticsearch

GitHub

13.9K

opensearch-project/OpenSearch

GitHub

  • Advisory counts cover every version, old ones included, and a heavily used, well-audited project often has more. Check the versions you run with the dependency check.

Which fits your constraints

Read across for what matters to you. Each answer comes from the data above or the project’s licence and hosting options.

How Elasticsearch and OpenSearch fit common constraints
ElasticsearchOpenSearch
An open-source licence

Yes: Under the AGPL-3.0 option

Yes: Apache-2.0

Someone else runs it for you

Yes: From Elastic Cloud

Yes: From Amazon OpenSearch Service

You can run it on your own servers

Yes: Yes, it’s software you install

Yes: Yes, it’s software you install

A long support window

8.19 is supported until Jul 15, 2027

No end dates published

What each is good at

Elasticsearch

Distributed search and analytics engine

Strengths

  • Powerful full-text search
  • Real-time indexing
  • Rich aggregation capabilities
  • Scalable distributed architecture

Trade-offs

  • High memory usage
  • Complex to tune and optimize
  • Eventual consistency

Common uses

  • Log analytics
  • Full-text search
  • Application monitoring
  • Business analytics

OpenSearch

Community-driven fork of Elasticsearch

Strengths

  • Fully open-source (Apache 2.0 license)
  • Elasticsearch-compatible (easy migration)
  • Active development by AWS and community
  • No licensing concerns
  • All advanced features included

Trade-offs

  • Smaller ecosystem than Elasticsearch
  • Some divergence from Elasticsearch features
  • Still evolving independently
  • Similar complexity to Elasticsearch

Common uses

  • Elasticsearch migration
  • Log analytics
  • Full-text search
  • Open-source preference

From StackPrism’s curated notes. Pricing isn’t covered here: it changes often, so check each vendor’s pricing page.

When teams weigh these two

OpenSearch started in 2021 as an Apache 2.0 fork of Elasticsearch 7.10.2, after Elastic moved Elasticsearch away from Apache 2.0. The two have diverged since, so APIs and plugins aren’t always interchangeable; the licence and where you plan to host usually decide it.

How this comparison works

Release lines and end-of-life dates come from endoflife.date, release counts from deps.dev’s publish dates, and advisories from OSV.dev, counted once per flaw even when it’s listed under several ids, and checked against CISA’s list of vulnerabilities known to be exploited. Status and incident history come from each vendor’s public status feed; licences from each project’s licence file or the vendor’s licensing page, linked in the table.

The data refreshes every few hours and the time it was checked is shown above. There’s no pricing and no overall winner: which one fits depends on your constraints. To see how the versions you actually run hold up, check your repo.

Already using one of them?

Paste a public GitHub repo and see what’s vulnerable, end of life or deprecated in it today. Free, no sign-up.