Elasticsearch version 6.0.0-beta2

edit

Elasticsearch version 6.0.0-beta2

edit

Breaking Changes

edit
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 Changes

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

Deprecations

edit
Machine Learning

Enhancements

edit
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)
Machine Learning
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
Security
  • Added the keystore.seed setting to create a randomly generated bootstrap password if an actual password is not present.
  • The bootstrap.password secure setting is now managed locally on each node and no longer updates the security index.
  • The xpack.security.authc.token.passphrase setting is no longer mandatory when using the token service. The cluster automatically generates a secure key on startup. See Security Settings in Elasticsearch.
  • Added reserved kibana_dashboard_only_user role. For more information, see Kibana Dashboard Only Mode.
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 Fixes

edit
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
Machine Learning
  • Fixed calculation of bucket count and empty bucket count statistics.
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)
Security
  • The xpack.security.authc.token.enabled setting now defaults to true when HTTPS is enabled. See Token service settings.
  • Improved the safety of file updates in the x-pack/users tool.
  • Bootstrap checks no longer fail when checking secure settings.
  • The setup-password tool no longer fails when using a default elasticsearch.yml configuration file.
  • Fixed validation of the input parameters in the create token API.
Watcher
  • Ensured that a watch can be activated and deactivated during execution.
  • Ensured watch execution always uses the latest watch including its latest status.

Upgrades

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