5.2.1 Release Notes

edit

Also see Breaking changes in 5.2.

Deprecations

edit
Geo
  • Geo distance range deprecation #22835

Enhancements

edit
Allocation
  • Include stale replica shard info when explaining an unassigned primary #22826

Bug fixes

edit
Cache
  • Invalidate cached query results if query timed out #22807 (issue: #22789)
Mapping
  • Range types causing GetFieldMappingsIndexRequest to fail due to NullPointerException in RangeFieldMapper.doXContentBody when include_defaults=true is on the query string #22925
  • Disallow introducing illegal object mappings (double ..) #22891 (issue: #22794)
Plugin Ingest Attachment
Plugin Lang Painless
  • Don’t allow casting from void to def in painless #22969 (issue: #22908)
  • Fix def invoked qualified method refs #22918
Reindex API
  • Reindex: do not log when can’t clear old scroll #22942 (issue: #22937)
  • Fix reindex-from-remote from <2.0 #22931 (issue: #22893)
Settings
  • Expose search.highlight.term_vector_multi_value as a node level setting #22999

Regressions

edit
Core
  • Source filtering: only accept array items if the previous include pattern matches #22593 (issue: #22557)

Upgrades

edit
Internal
  • Upgrade to Lucene 6.4.1. #22978