Latest in branch 8.18
8.18.8
Released 06 Oct 2025
(8 months ago)
SoftwareElasticsearch
Version8.18
Status
End of life
Initial release8.18.0
15 Apr 2025
(1 year ago)
Latest release8.18.8
06 Oct 2025
(8 months ago)
End of life21 Oct 2025
(Ended 7 months ago)
Release noteshttps://www.elastic.co/guide/en/elasticsearch/reference/8.18/es-release-notes.html
Source codehttps://github.com/elastic/elasticsearch/tree/8.18
Documentationhttps://www.elastic.co/guide/en/elasticsearch/reference/8.18/
Downloadhttps://www.elastic.co/downloads/elasticsearch
Elasticsearch 8.18 ReleasesView full list

What Is New in Elasticsearch 8.18

Elasticsearch 8.18 delivers key enhancements across search, security, and observability, making it a solid incremental update for production systems.

Category Key Updates
New Features Semantic Text support, New ESQL commands, Cross-cluster query rules
Enhancements Vector search performance, ESQL syntax, Service account management
Bug Fixes Resolved issues in search, security, and indexing operations
Deprecations Deprecated the _knn_search endpoint

What search capabilities were added in 8.18?

The headline search feature is the general availability of Semantic Text, which allows you to perform semantic searches using third-party inference services. This moves beyond the tech preview phase, making it production-ready for integrating custom ML models.

ESQL gets more powerful with new STATS and WHERE commands. You can now use STATS ... BY for more flexible aggregations and WHERE for filtering directly in your ESQL queries. This simplifies writing complex data exploration queries.

For managing complex deployments, cross-cluster query rules are now generally available. This lets you define and execute consistent query rules across multiple clusters, which is crucial for large-scale, distributed search applications.

How is vector search performance improved?

Vector search sees significant optimizations in this release. The underlying HNSW graph algorithm has been fine-tuned for better performance and accuracy when performing approximate nearest neighbor (ANN) searches on dense vector fields.

In practice, this means your kNN and semantic searches will return results faster and with higher relevance. The improvements are most noticeable on large datasets where low-latency vector matching is critical for user experience.

What security updates should I know about?

Service accounts now have a dedicated management API. You can use the new _service_account endpoint to list, get, and delete service accounts programmatically, streamlining automation and infrastructure-as-code workflows.

The update also includes various fixes for the built-in Elasticsearch security features, ensuring more robust authentication and authorization processes. These are foundational updates that improve the overall security stability of the cluster.

Are there any breaking changes or deprecations?

Yes, the _knn_search endpoint has been deprecated. You should transition to using the knn option within the standard _search API. This consolidation simplifies the API surface and aligns kNN search with other search methods.

This change matters because it future-proofs your code. While the old endpoint still works for now, updating your applications to use the new method will prevent breaking changes in a future major release.

FAQ

Is Semantic Text production-ready in 8.18?
Yes, Semantic Text is now generally available (GA). It moved out of technical preview, meaning it's fully supported for production use with third-party inference services.

What should I use instead of the deprecated _knn_search endpoint?
You should use the `knn` option inside the standard `_search` API. The functionality is the same, but it's now integrated into the main search endpoint.

Can I manage service accounts via API now?
Yes, a new `_service_account` API endpoint was added for programmatic management. You can list, retrieve, and delete service accounts directly through the API.

What are the new ESQL commands for aggregation?
ESQL introduced new `STATS ... BY` and `WHERE` commands. These provide more power and flexibility for performing aggregations and filters directly within your ESQL queries.

Are cross-cluster query rules stable now?
Yes, cross-cluster query rules reached general availability in this release. You can reliably use them to enforce consistent querying logic across multiple clusters in a deployment.

Releases In Branch 8.18

VersionRelease date
8.18.806 Oct 2025
(8 months ago)
8.18.716 Sep 2025
(8 months ago)
8.18.628 Aug 2025
(9 months ago)
8.18.512 Aug 2025
(9 months ago)
8.18.422 Jul 2025
(10 months ago)
8.18.324 Jun 2025
(11 months ago)
8.18.229 May 2025
(1 year ago)
8.18.106 May 2025
(1 year ago)
8.18.015 Apr 2025
(1 year ago)