6.0.0-alpha1 Release Notes

edit

The changes listed below have been released for the first time in Elasticsearch 6.0.0-alpha1. Changes in this release which were first released in the 5.x series are listed in 6.0.0-alpha1 Release Notes (Changes previously released in 5.x).

Also see Breaking changes in 6.0.

Breaking changes

edit
Allocation
  • Remove cluster.routing.allocation.snapshot.relocation_enabled setting #20994
Analysis
  • Removing query-string parameters in _analyze API #20704 (issue: #20246)
CAT API
  • Write -1 on unbounded queue in cat thread pool #21342 (issue: #21187)
CRUD
  • Disallow VersionType.FORCE for GetRequest #21079 (issue: #20995)
  • Disallow VersionType.FORCE versioning for 6.x indices #20995 (issue: #20377)
Cluster
  • No longer allow cluster name in data path #20433 (issue: #20391)
Core
  • Simplify file store #24402 (issue: #24390)
  • Make boolean conversion strict #22200
  • Remove the default store type. #21616
  • Remove store throttling. #21573
Geo
  • Remove deprecated geo search features #22876
  • Reduce GeoDistance Insanity #19846
Index APIs
  • Open/Close index api to allow_no_indices by default #24401 (issues: #24031, #24341)
  • Remove support for controversial ignore_unavailable and allow_no_indices from indices exists api #20712
Index Templates
  • Allows multiple patterns to be specified for index templates #21009 (issue: #20690)
Java API
  • Enforce Content-Type requirement on the rest layer and remove deprecated methods #23146 (issue: #19388)
Mapping
  • Enforce at most one type. #24428 (issue: #24317)
  • Disallow include_in_all for 6.0+ indices #22970 (issue: #22923)
  • Disable _all by default, disallow configuring _all on 6.0+ indices #22144 (issues: #19784, #20925, #21341)
  • Throw an exception on unrecognized "match_mapping_type" #22090 (issue: #17285)
Network
  • Remove blocking TCP clients and servers #22639
  • Remove modules/transport_netty_3 in favor of netty_4 #21590
  • Remove LocalTransport in favor of MockTcpTransport #20695
Packaging
  • Remove customization of ES_USER and ES_GROUP #23989 (issue: #23848)
Percolator
  • Remove deprecated percolate and mpercolate apis #22331
Plugin Delete By Query
  • Require explicit query in _delete_by_query API #23632 (issue: #23629)
Plugin Discovery EC2
  • Ec2 Discovery: Cleanup deprecated settings #24150
  • Discovery EC2: Remove region setting #23991 (issue: #22758)
  • AWS Plugins: Remove signer type setting #23984 (issue: #22599)
Plugin Lang JS
  • Remove lang-python and lang-javascript #20734 (issue: #20698)
Plugin Mapper Attachment
Plugin Repository Azure
  • Remove global repositories.azure settings #23262 (issues: #22800, #22856)
  • Remove auto creation of container for azure repository #22858 (issue: #22857)
Plugin Repository S3
  • S3 Repository: Cleanup deprecated settings #24097
  • S3 Repository: Remove region setting #22853 (issue: #22758)
  • S3 Repository: Remove bucket auto create #22846 (issue: #22761)
  • S3 Repository: Remove env var and sysprop credentials support #22842
Query DSL
  • Remove deprecated minimum_number_should_match in BoolQueryBuilder #22416
  • Remove support for empty queries #22092 (issue: #17624)
  • Remove deprecated query names: in, geo_bbox, mlt, fuzzy_match and match_fuzzy #21852
  • The terms query should always map to a Lucene TermsQuery. #21786
  • Be strict when parsing values searching for booleans #21555 (issue: #21545)
  • Remove collect payloads parameter #20385
REST
Scripting
  • Make dates be ReadableDateTimes in scripts #22948 (issue: #22875)
  • Remove groovy scripting language #21607
Search
  • ProfileResult and CollectorResult should print machine readable timing information #22561
  • Remove indices query #21837 (issue: #17710)
  • Remove ignored type parameter in search_shards api #21688
Sequence IDs
  • Change certain replica failures not to fail the replica shard #22874 (issue: #10708)
Shadow Replicas

Breaking Java changes

edit
Java API
  • Java api: ActionRequestBuilder#execute to return a PlainActionFuture #24415 (issues: #24412, #9201)
Network
  • Simplify TransportAddress #20798

Deprecations

edit
Index Templates
  • Restore deprecation warning for invalid match_mapping_type values #22304
Internal
  • Deprecate XContentType auto detection methods in XContentFactory #22181 (issue: #19388)

New features

edit
Core

Enhancements

edit
Aggregations
  • Agg builder accessibility fixes #24323
  • Remove support for the include/pattern syntax. #23141 (issue: #22933)
  • Promote longs to doubles when a terms agg mixes decimal and non-decimal numbers #22449 (issue: #22232)
Analysis
  • Match- and MultiMatchQueryBuilder should only allow setting analyzer on string values #23684 (issue: #21665)
Bulk
  • Simplify bulk request execution #20109
CRUD
  • Added validation for upsert request #24282 (issue: #16671)
Cluster
  • Separate publishing from applying cluster states #24236
  • Adds cluster state size to /_cluster/state response #23440 (issue: #3415)
Core
  • Remove connect SocketPermissions from core #22797
  • Add repository-url module and move URLRepository #22752 (issue: #22116)
  • Remove accept SocketPermissions from core #22622 (issue: #22116)
  • Move IfConfig.logIfNecessary call into bootstrap #22455 (issue: #22116)
  • Remove artificial default processors limit #20874 (issue: #20828)
  • Simplify write failure handling #19105 (issue: #20109)
Engine
  • Fill missing sequence IDs up to max sequence ID when recovering from store #24238 (issue: #10708)
  • Use sequence numbers to identify out of order delivery in replicas & recovery #24060 (issue: #10708)
  • Add replica ops with version conflict to translog #22626
  • Clarify global checkpoint recovery #21934 (issue: #21254)
Internal
  • Try to convince the JVM not to lose stacktraces #24426 (issue: #24376)
  • Make document write requests immutable #23038
Java High Level REST Client
  • Add info method to High Level Rest client #23350
  • Add support for named xcontent parsers to high level REST client #23328
  • Add BulkRequest support to High Level Rest client #23312
  • Add UpdateRequest support to High Level Rest client #23266
  • Add delete API to the High Level Rest Client #23187
  • Add Index API to High Level Rest Client #23040
  • Add get/exists method to RestHighLevelClient #22706
  • Add fromxcontent methods to delete response #22680 (issue: #22229)
  • Add REST high level client gradle submodule and first simple method #22371
Java REST Client
  • Wrap rest httpclient with doPrivileged blocks #22603 (issue: #22116)
Mapping
  • Date detection should not rely on a hardcoded set of characters. #22171 (issue: #1694)
Network
  • Isolate SocketPermissions to Netty #23057
  • Wrap netty accept/connect ops with doPrivileged #22572 (issue: #22116)
  • Replace Socket, ServerSocket, and HttpServer usages in tests with mocksocket versions #22287 (issue: #22116)
Plugin Discovery EC2
  • Read ec2 discovery address from aws instance tags #22743 (issue: #22566)
Plugin Repository HDFS
  • Add doPrivilege blocks for socket connect ops in repository-hdfs #22793 (issue: #22116)
Plugins
  • Add doPrivilege blocks for socket connect operations in plugins #22534 (issue: #22116)
Recovery
  • Peer Recovery: remove maxUnsafeAutoIdTimestamp hand off #24243 (issue: #24149)
  • Introduce sequence-number-based recovery #22484 (issue: #10708)
Search
  • Add parsing from xContent to Suggest #22903
  • Add parsing from xContent to ShardSearchFailure #22699
Sequence IDs
  • Block global checkpoint advances when recovering #24404 (issue: #10708)
  • Add primary term to doc write response #24171 (issue: #10708)
  • Preserve multiple translog generations #24015 (issue: #10708)
  • Introduce translog generation rolling #23606 (issue: #10708)
  • Replicate write failures #23314
  • Introduce sequence-number-aware translog #22822 (issue: #10708)
  • Introduce translog no-op #22291 (issue: #10708)
  • Tighten sequence numbers recovery #22212 (issue: #10708)
  • Add BWC layer to seq no infra and enable BWC tests #22185 (issue: #21670)
  • Add internal _primary_term doc values field, fix _seq_no indexing #21637 (issues: #10708, #21480)
  • Add global checkpoint to translog checkpoints #21254
  • Sequence numbers commit data for Lucene uses Iterable interface #20793 (issue: #10708)
  • Simplify GlobalCheckpointService and properly hook it for cluster state updates #20720
Stats
  • Expose disk usage estimates in nodes stats #22081 (issue: #8686)
Store
  • Remote support for lucene versions without checksums #24021
Suggesters
  • Remove deprecated _suggest endpoint #22203 (issue: #20305)
Task Manager

Bug fixes

edit
Ingest
  • Remove support for Visio and potm files #22079 (issue: #22077)
Inner Hits
  • If size / offset are out of bounds just do a plain count #20556 (issue: #20501)
Internal
  • Fix handling of document failure exception in InternalEngine #22718
Plugin Ingest Attachment
Plugin Repository S3
Sequence IDs
  • Avoid losing ops in file-based recovery #22945 (issue: #22484)
Snapshot/Restore
  • Keep snapshot restore state and routing table in sync #20836 (issue: #19774)
Translog
  • Fix Translog.Delete serialization for sequence numbers #22543

Regressions

edit
Bulk
  • Only re-parse operation if a mapping update was needed #23832 (issue: #23665)

Upgrades

edit
Core
Plugin Ingest Attachment