6.0.0-beta2 Release Notesedit

Also see Breaking changes in 6.0.

Breaking changesedit

Analysis
  • Do not allow custom analyzers to have the same names as built-in analyzers #22349 (issue: #22263)
Cluster
  • Disallow : in cluster and index/alias names #26247 (issue: #23892)
Inner Hits
Mapping
  • Reject out of range numbers for float, double and half_float #25826 (issue: #25534)
Network
  • Remove unused Netty-related settings #26161
Packaging
Query DSL
  • Throw exception in scroll requests using from #26235 (issue: #9373)

Breaking Java changesedit

Aggregations
  • Fix NPE when values is omitted on percentile_ranks agg #26046

Enhancementsedit

Aggregations
  • Support distance units in GeoHashGrid aggregation precision #26291 (issue: #5042)
  • Reject multiple methods in percentiles aggregation #26163 (issue: #26095)
  • Use global_ordinals_hash execution mode when sorting by sub aggregations. #26014 (issue: #24359)
  • Add a specialized deferring collector for terms aggregator #25190
Core
  • Use Java 9 FilePermission model #26302 (issue: #21534)
  • Add friendlier message on bad keystore permissions #26284
  • Epoch millis and second formats accept float implicitly #26119 (issue: #14641)
Internal
  • Prevent cluster internal ClusterState.Custom impls to leak to a client #26232
  • Use holder pattern for lazy deprecation loggers #26218 (issue: #26210)
  • Allow ClusterState.Custom to be created on initial cluster states #26144
Java High Level REST Client
  • Make RestHighLevelClient Closeable and simplify its creation #26180 (issue: #26086)
Mapping
  • Loosen the restrictions on disabling _all in 6.x #26259
Percolator
  • Store the QueryBuilder’s Writable representation instead of its XContent representation #25456
  • Add support for selecting percolator query candidate matches containing wildcard / prefix queries #25351
Query DSL
  • Add support for auto_generate_synonyms_phrase_query in match_query, multi_match_query, query_string and simple_query_string #23147
Settings
  • Persist created keystore on startup unless keystore is present #26253 (issue: #26126)
  • Settings: Add keystore.seed auto generated secure setting #26149
  • Settings: Add keystore creation to add commands #26126

Bug fixesedit

Aggregations
  • Check bucket metric ages point to a multi bucket agg #26215 (issue: #25775)
Allocation
CRUD
  • Serialize and expose timeout of acknowledged requests in REST layer #26189 (issue: #26213)
  • Fix silent loss of last command to _bulk and _msearch due to missing newline #25740 (issue: #7601)
Cluster
  • Register setting cluster.indices.tombstones.size #26193 (issue: #26191)
Highlighting
Logging
Mapping
  • ICUCollationKeywordFieldMapper use SortedSetDocValuesField #26267
  • Fix serialization of the _all field. #26143 (issue: #26136)
Network
  • Release pipelined http responses on close #26226
Packaging
  • Detect modified keystore on package removal #26300
  • Create keystore on RPM and Debian package install #26282
  • Add safer empty variable checking for Windows #26268 (issue: #26261)
  • Export HOSTNAME environment variable #26262 (issues: #25807, #26255)
  • Fix daemonization command status test #26196 (issue: #26080)
  • Set RuntimeDirectory in systemd service #23526
Search
  • Refactor simple_query_string to handle text part like multi_match and query_string #26145 (issue: #25726)
  • Fix _exists_ in query_string on empty indices. #25993 (issue: #25956)

Upgradesedit

Core
  • Upgrade to lucene-7.0.0-snapshot-a128fcb. #26090