What is Elasticsearch?
Elasticsearch is a distributed full-text search and analytics engine on TurboStack, required by Magento 2 and used by Akeneo.
Elasticsearch is a distributed full-text search and analytics engine. It stores documents in indices and answers fast, relevance-ranked queries - powering product search, filtering, autocomplete and faceted navigation. It runs on the JVM and scales across nodes.
Note
Prefer a fully open-source engine? TurboStack also offers OpenSearch, an Elasticsearch-compatible alternative.
On TurboStack
Enable Elasticsearch at the host level and pick a version (elasticsearch_version, e.g. "8.x").
TurboStack auto-sizes the JVM heap; you can configure plugins. Elasticsearch is required by Magento 2
and used by Akeneo for catalog/product search.
Best practices
- Only enable it for applications that need it - Magento 2 requires it; most others don't.
- Keep the heap auto-sized unless you measure memory pressure - see Performance tuning.
- Match the engine version to the version your application supports.
- Reindex after large catalog/content changes.