Search
Mastodon may optionally utilize an installation of Elasticsearch or OpenSearch. Administrators may add either service to enable full-text search features.
Elasticsearch
Section titled “Elasticsearch”| Mastodon — click a version to focus its column | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| 9.x | ✓ | ✓ | Not applicable | Not applicable | Not applicable | Not applicable | Not applicable | Not applicable | Not applicable |
| 8.x | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✕ | Not applicable |
| 7.x | ! | ! | ! | ! | ! | ! | ! | ! | ! |
| 6.x | ✕ | ✕ | ✕ | ✕ | ✕ | ✕ | ✕ | ✕ | ! |
Plan a Elasticsearch upgrade
Select your current Elasticsearch version to see upgrade guidance.
References: Elasticsearch Maintenance Policy
OpenSearch
Section titled “OpenSearch”| Mastodon — click a version to focus its column | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| 3.x | ✓ | ✓ | Not applicable | Not applicable | Not applicable | Not applicable | Not applicable | Not applicable | Not applicable |
| 2.x | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | Not applicable | Not applicable |
| 1.x | ! | ! | ! | ! | ! | ! | ! | ! | ! |
Plan a OpenSearch upgrade
Select your current OpenSearch version to see upgrade guidance.
References: OpenSearch Maintenance Policy
OpenSearch is an open-source fork of Elasticsearch, created by AWS in 2021 after Elastic moved Elasticsearch off of its previous open-source (Apache 2.0) license. Forked from Elasticsearch 7.10.2 and now stewarded by the Linux Foundation, OpenSearch remains Apache 2.0-licensed. The two projects have diverged over time, but for Mastodon’s purposes they remain interchangeable, which is why their versions are tracked separately below but either may be used. New deployments are encouraged to use OpenSearch for its open-source license and active community development.