Elasticsearch version 7.0.1

Also see Breaking changes in 7.0.

Enhancements

CCR
  • Reduce security permissions in CCR plugin #41391
Infra/Packaging
  • Be lenient when parsing build flavor and type on the wire #40734 (issues: #39378, #40723)
Machine Learning
  • [ML] Allow xpack.ml.max_machine_memory_percent higher than 100% #41193

Bug fixes

Allocation
  • Short-circuit rebalancing when disabled #40966 (issue: #40942)
Authorization
  • Fix role mapping DN field wildcards for users with NULL DNs #41343 (issue: #41305)
  • Fix Has Privilege API check on restricted indices #41226
  • Fix put mapping authorization for aliases with a write-index and multiple read indices #40834 (issue: #40831)
  • Use alias name from rollover request to query indices stats #40774 (issue: #40771)
CCR
  • Suppress lease background sync failures if stopping #40902
Cluster Coordination
  • Fix multi-node parsing in voting config exclusions REST API #41588 (issue: #41587)
  • Validate cluster UUID when joining Zen1 cluster #41063 (issue: #37775)
Engine
  • Mark searcher as accessed in acquireSearcher #41335
Features/Monitoring
  • Properly handle all Monitoring exporters being disabled #40920 (issue: #40919)
Features/Watcher
  • Use environment settings instead of state settings for Watcher config #41087 (issue: #41042)
Highlighting
  • Unified highlighter should ignore terms that target the _id field #41275 (issue: #37525)
  • Unified highlighter should respect no_match_size with number_of_fragments set to 0 #41069 (issue: #41066)
Infra/Settings
  • Always check for archiving broken index settings #41209
Machine Learning
  • [ML] Write header to autodetect before it is visible to other calls #41085 (issue: #40385)
  • Fix unsafe publication of invalid license enforcer #40985 (issue: #40957)
Mapping
  • Fix error applying ignore_malformed to boolean values #41261 (issue: #11498)
SQL
  • SQL: Fix bug with optimization of null related conditionals #41355
  • SQL: Predicate diff takes into account all values #41346 (issue: #40835)
  • SQL: Fix LIMIT bug in agg sorting #41258 (issue: #40984)
  • SQL: Allow current_date/time/timestamp to be also used as a function escape pattern #41254 (issue: #41240)
  • SQL: Translate MIN/MAX on keyword fields as FIRST/LAST #41247 (issues: #37936, #41195)
  • SQL: Tweak pattern matching in SYS TABLES #41243 (issue: #40775)
  • SQL: Change schema calls to empty set #41034 (issue: #41028)
  • SQL: Use ResultSets over exceptions in metadata #40641 (issue: #40533)
  • SQL: Fix catalog filtering in SYS COLUMNS #40583 (issue: #40582)
Search
  • BlendedTermQuery should ignore fields that don’t exist in the index #41125 (issue: #41118)
  • Full text queries should not always ignore unmapped fields #41062 (issue: #41022)
  • ProfileScorer should propagate setMinCompetitiveScore. #40958
  • Fix rewrite of inner queries in DisMaxQueryBuilder #40956 (issue: #40953)
Security
  • Fix unsafe publication in opt-out query cache #40957
  • Remove dynamic objects from security index #40499 (issue: #35460)
Snapshot/Restore
  • Fix Broken Index Shard Snapshot File Preventing Snapshot Creation #41310 (issue: #41304)
  • Do not create missing directories in readonly repo #41249 (issues: #26909, #41009)

Upgrades

Infra/Packaging
  • Bump the bundled JDK to 12.0.1 #41627