5.4.1 Release Notesedit

See Multi data path bug in Elasticsearch 5.3.0.

Also see Breaking changes in 5.4.

Enhancementsedit

Aggregations
  • Allow scripted metric agg to access _score #24295
Core
  • Improve bootstrap checks error messages #24548
Internal
  • Log JVM arguments on startup #24451
Network
Snapshot/Restore
  • Ensure every repository has an incompatible-snapshots blob #24403 (issue: #22267)
Stats

Bug fixesedit

Aggregations
  • Fix ArrayIndexOutOfBoundsException when no ranges are specified in the query #23241 (issue: #22881)
Allocation
  • Discard stale node responses from async shard fetching #24434 (issue: #24007)
Core
  • Fix cache expire after access #24546
Index APIs
  • Fix legacy GeoPointField decoding in FieldStats #24534 (issue: #24275)
  • Validates updated settings on closed indices #24487 (issue: #23787)
Internal
  • Remove _UNRELEASED from Version constants for released versions #24764
  • Avoid race when shutting down controller processes #24579
  • Fix NPE if field caps request has a field that exists not in all indices #24504
More Like This
  • Pass over _routing value with more_like_this items to be retrieved #24679 (issue: #23699)
Network
Packaging
  • Handle parentheses in batch file path #24731 (issue: #24712)
Percolator
  • Fix range queries with date range based on current time in percolator queries. #24666 (issue: #23921)
Plugin Repository HDFS
  • Fixing permission errors for KERBEROS security mode for HDFS Repository #23439 (issue: #22156)
Plugins
  • X-Pack plugin download fails on Windows desktop [ISSUE] #24570
  • Fix plugin installation permissions #24527 (issue: #24480)
Reindex API
  • Reindex: don’t duplicate _source parameter #24629 (issue: #24628)
  • Add qa module that tests reindex-from-remote against pre-5.0 versions of Elasticsearch #24561 (issues: #23828, #24520)
Scroll
  • Fix single shard scroll within a cluster with nodes in version >= 5.3 and <= 5.3 #24512
Search
  • Fix ExpandSearchPhase when response contains no hits #24688 (issue: #24672)
  • Include all aliases including non-filtering in _search_shards response #24489
Settings
  • Allow resetting settings that use an IP validator #24713 (issue: #24709)
Snapshot/Restore
  • Removes completed snapshot from cluster state on master change #24605 (issue: #24452)
  • Fix inefficient (worst case exponential) loading of snapshot repository #24510 (issue: #24509)

Upgradesedit

Core
  • Upgrade to Lucene 6.5.1 #24399
Network
  • Upgrade to Netty 4.1.11.Final #24652
  • Upgrade Netty to 4.1.10.Final #24414