Elasticsearch version 6.5.2

Also see Breaking changes in 6.5.

Enhancements

Aggregations
  • Handles exists query in composite aggs #35758
SQL
  • Improve validation of unsupported fields #35675 (issue: #35673)

Bug fixes

CCR
  • Only auto follow indices when all primary shards have started #35814 (issue: #35480)
  • Avoid NPE in follower stats when no tasks metadata #35802
Features/Watcher
  • Only trigger a watch if new or schedule/changed #35908
Infra/Build
Infra/Packaging
Infra/Scripting
  • Actually add joda time back to whitelist #35965
  • Add back joda to whitelist #35915 (issue: #35913)
Machine Learning
  • Adjust file structure finder parser config #35935
  • Prevent potential NPE when reading the model memory limit #35827
SQL
  • Fix issue with wrong data type for scripted Grouping keys #35969 (issue: #35662)
  • Fix translation of math functions to painless #35910 (issue: #35654)
  • Fix jdbc jar to include deps #35602
Search
  • Fix analyzed prefix query in query_string #35756 (issue: #31702)
  • Add a More Like This query routing requirement check (#29678) #33974
Snapshot/Restore

Regressions

Infra/Scripting
  • Use Number as a return value for BucketAggregationScript #35653 (issue: #35351)