6.0.0-alpha2 Release Notesedit

Also see Breaking changes in 6.0.

Breaking changesedit

CRUD
  • Deleting a document from a non-existing index creates the indexIf the index does not exist, delete document will not auto create it #24518 (issue: #15425)
Plugin Analysis ICU
  • Upgrade icu4j to latest version #24821
Plugin Repository S3
  • Remove deprecated S3 settings #24445
Scripting
  • Remove script access to term statistics #19462 (issue: #19359)

Breaking Java changesedit

Aggregations
  • Make Terms.Bucket an interface rather than an abstract class #24492
  • Compound order for histogram aggregations #22343 (issues: #14771, #20003, #23613)
Plugins
  • Drop name from TokenizerFactory #24869

Deprecationsedit

Settings
  • Deprecate settings in .yml and .json #24059 (issue: #19391)

New featuresedit

Aggregations
  • SignificantText aggregation - like significant_terms, but for text #24432 (issue: #23674)
Internal
  • Automatically adjust search threadpool queue_size #23884 (issue: #3890)
Mapping
  • Add new ip_range field type #24433
Plugin Analysis ICU
  • Add ICUCollationFieldMapper #24126

Enhancementsedit

Core
  • Improve bootstrap checks error messages #24548
Engine
  • Move the IndexDeletionPolicy to be engine internal #24930 (issue: #10708)
Internal
  • Add assertions enabled helper #24834
Java High Level REST Client
Mapping
  • Identify documents by their _id. #24460
Packaging
  • Set number of processes in systemd unit file #24970 (issue: #20874)
Plugin Lang Painless
  • Make Painless Compiler Use an Instance Per Context #24972
  • Make PainlessScript An Interface #24966
Recovery
Scripting
  • Add StatefulFactoryType as optional intermediate factory in script contexts #24974 (issue: #20426)
  • Make contexts available to ScriptEngine construction #24896
  • Make ScriptEngine.compile generic on the script context #24873
  • Add instance and compiled classes to script contexts #24868
Search
  • Eliminate array access in tight loops when profiling is enabled. #24959
  • Support Multiple Inner Hits on a Field Collapse Request #24517
  • Expand cross cluster search indices for search requests to the concrete index or to it’s aliases #24502
Search Templates
Sequence IDs
Snapshot/Restore
  • Enhances get snapshots API to allow retrieving repository index only #24477 (issue: #24288)

Bug fixesedit

Aggregations
  • Terms aggregation should remap global ordinal buckets when a sub-aggregator is used to sort the terms #24941 (issue: #24788)
  • Correctly set doc_count when MovAvg "predicts" values on existing buckets #24892 (issue: #24327)
  • DateHistogram: Fix extended_bounds with offset #23789 (issue: #23776)
  • Fix ArrayIndexOutOfBoundsException when no ranges are specified in the query #23241 (issue: #22881)
Analysis
  • PatternAnalyzer should lowercase wildcard queries when lowercase is true. #24967
Cache
  • fix bug of weight computation #24856
Core
  • Fix cache expire after access #24546
Index APIs
  • Validates updated settings on closed indices #24487 (issue: #23787)
Ingest
  • Fix floating-point error when DateProcessor parses UNIX #24947
  • add option for _ingest.timestamp to use new ZonedDateTime (5.x backport) #24030 (issues: #23168, #23174)
Inner Hits
  • Fix Source filtering in new field collapsing feature #24068 (issue: #24063)
Internal
  • Ensure remote cluster is connected before fetching _field_caps #24845 (issue: #24763)
Network
  • Fix error message if an incompatible node connects #24884
Plugins
  • Fix plugin installation permissions #24527 (issue: #24480)
Scroll
  • Fix single shard scroll within a cluster with nodes in version >= 5.3 and <= 5.3 #24512
Search
  • Fix script field sort returning Double.MAX_VALUE for all documents #24942 (issue: #24940)
  • Compute the took time of the query after the expand phase of field collapsing #24902 (issue: #24900)
Sequence IDs
  • Handle primary failure handling replica response #24926 (issue: #24935)
Snapshot/Restore
  • Fix inefficient (worst case exponential) loading of snapshot repository #24510 (issue: #24509)
Stats
Suggesters
  • Fix context suggester to read values from keyword type field #24200 (issue: #24129)