Elasticsearch version 6.5.1edit

Also see Breaking changes in 6.5.

Enhancementsedit

Authorization
  • Grant .tasks access to kibana_system role #35573
Search
  • has_parent builder: exception message/param fix #31182

Bug fixesedit

Aggregations
  • Correct implemented interface of ParsedReverseNested #35455 (issue: #35449)
  • Handle IndexOrDocValuesQuery in composite aggregation #35392
  • Preserve format when aggregation contains unmapped date fields #35254 (issue: #31760)
Infra/Core
Machine Learning
  • Fix find_file_structure NPE with should_trim_fields #35465 (issue: #35462)
  • Prevent notifications being created on deletion of a non existent job #35337 (issues: #34058, #35336)
SQL
  • Fix query translation for scripted queries #35408 (issue: #35232)
  • Clear the cursor if nested inner hits are enough to fulfill the query required limits #35398 (issue: #35176)
  • SQL: Introduce IsNull node to simplify expressions #35206 (issues: #34876, #35171)
Scripting
  • [Painless] Partially fixes def boxed types casting #35563 (issue: #35351)