Latest in branch 5.3
5.3.3
Released 19 May 2017
(9 years ago)
SoftwareElasticsearch
Version5.3
Status
End of life
Initial release5.3.0
22 Mar 2017
(9 years ago)
Latest release5.3.3
19 May 2017
(9 years ago)
End of lifeUnavailable
Release noteshttps://www.elastic.co/guide/en/elasticsearch/reference/5.3/release-notes.html
Source codehttps://github.com/elastic/elasticsearch/tree/5.3
Documentationhttps://www.elastic.co/guide/en/elasticsearch/reference/5.3/
Downloadhttps://www.elastic.co/downloads/elasticsearch
Elasticsearch 5.3 ReleasesView full list

What Is New in Elasticsearch 5.3

Elasticsearch 5.3 delivers significant enhancements across search, indexing, and cluster management. This release focuses on performance tuning, new aggregation features, and improved data ingestion pipelines.

Category Key Updates
New Features Painless Scripting Language, Significant Text Aggregation, Ingest Pipeline Enhancements
Improvements Indexing Performance, Recovery Prioritization, Query Execution
Bug Fixes Various fixes for crashes, memory leaks, and synchronization issues
Deprecations Deprecated features in preparation for future versions

How does Painless scripting improve performance and security?

Painless is a new secure scripting language designed specifically for Elasticsearch. It executes significantly faster than previous options like Groovy, often by several orders of magnitude.

In practice, this means inline scripts in aggregations or update operations run much quicker. It's also sandboxed by default, which closes security holes that existed with older, more permissive scripting engines.

What new aggregation capabilities were added?

The Significant Text aggregation is a major addition for 5.3. It analyzes text-heavy fields to find statistically significant terms, similar to the Significant Terms aggregation but designed for unstructured content.

This is particularly useful for log data or documents where you need to find the most unusual or noteworthy keywords, not just the most frequent ones. It works directly on text fields without needing a keyword sub-field.

How are ingest pipelines more powerful now?

Ingest pipelines gained two key processors: the Uri Parts Processor and the Attachment Processor. The Uri Parts Processor breaks down a URI string into its components like domain, path, and query.

The Attachment Processor now supports the ability to remove the base64-encoded original attachment from the source document after its contents have been parsed. This helps control storage costs by letting you keep only the extracted text metadata.

What indexing improvements should I know about?

Indexing performance got a boost, especially for append-only time-based data like logs. The changes reduce the overhead of merges and segment tracking.

There's also a new recovery prioritization strategy. When a node restarts, replicas on nodes holding newer hardware or with faster storage can now be recovered first, getting your cluster back to a green state more efficiently.

FAQ

Is the Painless scripting language ready for production use?
Yes, Painless is the new default and is production-ready. It's not only faster but also safer than previous scripting options. You should start migrating existing scripts to Painless.

Can I use the Significant Text aggregation on analyzed fields?
Absolutely. This aggregation is designed specifically for text fields that have been analyzed (tokenized). It's a game-changer for finding interesting terms in large volumes of unstructured text like logs or documents.

Does the Attachment Processor now help reduce storage size?
Yes. The new `remove_binary` configuration option allows the processor to strip out the base64 encoded attachment after parsing its content. You keep the extracted text and metadata but save storage by removing the large encoded blob.

What's the main benefit of the new recovery prioritization?
It speeds up cluster recovery after a node restart. By prioritizing the recovery of replicas on faster hardware, your cluster can re-establish redundancy and get back to a fully operational state more quickly.

Were there any important breaking changes in 5.3?
While not a focus of this release, the deprecation of older features continues. You should check the deprecation logs and plan to migrate from deprecated APIs and settings, as they will likely be removed in a future major version like 6.0.

Releases In Branch 5.3

VersionRelease date
5.3.319 May 2017
(9 years ago)
5.3.224 Apr 2017
(9 years ago)
5.3.117 Apr 2017
(9 years ago)
5.3.022 Mar 2017
(9 years ago)