WARNING: Version 5.5 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
5.2.0 Release Notes
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
5.2.0 Release Notes
editAlso see Breaking changes in 5.2.
Breaking changes
edit- Core
-
- Add system call filter bootstrap check #21940
Breaking Java changes
editDeprecations
edit- Java API
-
- Deprecate and remove "minimumNumberShouldMatch" in BoolQueryBuilder #22403
- Shadow Replicas
New features
edit- Analysis
-
- Synonym Graph Support (LUCENE-6664) #21517
- Ingest
- Mapping
Enhancements
edit- Aggregations
- Allocation
- Analysis
-
- Expose FlattenGraphTokenFilter #22643
- CRUD
-
- Use correct block levels for TRA subclasses #22224
- Cluster
-
- Keep NodeConnectionsService in sync with current nodes in the cluster state #22509
- Add a generic way of checking version before serializing custom cluster object #22376 (issue: #22313)
- Add validation for supported index version on node join, restore, upgrade & open index #21830 (issue: #21670)
- Let ClusterStateObserver only hold onto state that’s needed for change detection #21631 (issue: #21568)
- Remove mutable status field from cluster state #21379
- Core
- Discovery
- Ingest
-
-
add
ignore_missing
flag to ingest plugins #22273 - Added ability to remove pipelines via wildcards (#22149) #22191 (issue: #22149)
- Enables the ability to inject serialized json fields into root of document #22179 (issue: #21898)
- compile ScriptProcessor inline scripts when creating ingest pipelines #21858 (issue: #21842)
-
add
- Internal
-
- Remove some more usages of ParseFieldMatcher #22398 (issues: #19552, #22130)
- Remove some more usages of ParseFieldMatcher #22395 (issues: #19552, #22130)
- Remove some ParseFieldMatcher usages #22389 (issues: #19552, #22130)
- Add infrastructure to manage network connections outside of Transport/TransportService #22194
- Replace strict parsing mode with response headers assertions #22130 (issues: #11859, #19552, #20993)
-
Start using
ObjectParser
for aggs. #22048 (issue: #22009) - Don’t output null source node in RecoveryFailedException #21963
- ClusterService should expose "applied" cluster states (i.e., remove ClusterStateStatus) #21817
- Java High Level REST Client
- Java REST Client
-
- Warn log deprecation warnings received from server #21895
- Logging
- Mapping
- Network
-
- Disable the Netty recycler #22452 (issues: #22189, #22360, #22406, #5904)
- Tell Netty not to be unsafe in transport client #22284
- Introduce a low level protocol handshake #22094
- Detach handshake from connect to node #22037
- Reduce number of connections per node depending on the nodes role #21849
- Add a connect timeout to the ConnectionProfile to allow per node connect timeouts #21847 (issue: #19719)
- Grant Netty permission to read system somaxconn #21840
- Remove connectToNodeLight and replace it with a connection profile #21799
- Packaging
- Plugin Discovery EC2
- Plugin Ingest GeoIp
- Plugin Lang Painless
- Plugins
- Query DSL
- Reindex API
- Scripting
- Search
-
- Move SearchTransportService and SearchPhaseController creation outside of TransportSearchAction constructor #21754
- Don’t carry ShardRouting around when not needed in AbstractSearchAsyncAction #21753
- ShardSearchRequest to take ShardId constructor argument rather than the whole ShardRouting #21750
- Use index uuid as key in the alias filter map rather than the index name #21749
- Settings
-
- Speed up filter and prefix settings operations #22249
- Snapshot/Restore
- Stats
- Task Manager
Bug fixes
edit- Aggregations
-
- Fix scaled_float numeric type in aggregations #22351 (issue: #22350)
- Allow terms aggregations on pure boolean scripts. #22201 (issue: #20941)
- Fix numeric terms aggregations with includes/excludes and minDocCount=0 #22141 (issue: #22140)
-
Fix
missing
on aggs onboolean
fields. #22135 (issue: #22009) - IP range masks exclude the maximum address of the range. #22018 (issue: #22005)
-
Fix
other_bucket
on thefilters
agg to be enabled if a key is set. #21994 (issue: #21951)
- Allocation
- Analysis
- CRUD
-
- Reject external versioning and explicit version numbers on create #21998
- Cluster
-
- IndicesService handles all exceptions during index deletion #22433
- Core
- Discovery
- Engine
-
- Close and flush refresh listeners on shard close #22342
- Exceptions
- Highlighting
-
- Fix FiltersFunctionScoreQuery highlighting #21827
- Index APIs
- Ingest
- Inner Hits
- Internal
-
- Index creation and setting update may not return deprecation logging #22702
- Java API
- Java REST Client
- Mapping
-
-
The
_all
default mapper is not completely configured. #22236 - Fix MapperService.allEnabled(). #22227
-
Dynamic
date
fields should use theformat
that was used to detect it is a date. #22174 (issue: #9410) -
Sub-fields should not accept
include_in_all
parameter #21971 (issue: #21710) - Mappings: Fix get mapping when no indexes exist to not fail in response generation #21924 (issue: #21916)
-
The
- Nested Docs
-
- Fix bug in query builder rewrite that ignores the ignore_unmapped option #22456
- Network
-
-
Pass
forceExecution
flag to transport interceptor #22739 - Ensure new connections won’t be opened if transport is closed or closing #22589 (issue: #22554)
- Prevent open channel leaks if handshake times out or is interrupted #22554
- Execute low level handshake in #openConnection #22440
- Properly configure Netty 3 ClientBootstrap when using custom connection profile #22363 (issue: #22277)
- Handle connection close / reset events gracefully during handshake #22178
- Do not lose host information when pinging #21939 (issue: #21828)
- DiscoveryNode and TransportAddress should preserve host information #21828
-
Pass
- Packaging
- Percolator
- Plugin Analysis Stempel
- Plugin Lang Painless
- Plugin Mapper Attachment
-
- NPE is raised when defining a non existing type within attachments type #21848
- Plugin Repository Azure
- Query DSL
- REST
- Recovery
- Reindex API
-
- Fix reindex from remote clearing scroll #22525 (issue: #22514)
- Fix source filtering in reindex-from-remote #22514 (issue: #22507)
- Remove content type detection from reindex-from-remote #22504 (issue: #22329)
- Don’t close rest client from its callback #22061 (issue: #22027)
- Keep context during reindex’s retries #21941
- Scripting
- Search
-
- Improve concurrency of ShardCoreKeyMap. #22316
-
Make
-0
compare less than+0
consistently. #22173 (issue: #22167) - Fix boost_mode propagation when the function score query builder is rewritten #22172 (issue: #22138)
- FiltersAggregationBuilder: rewriting filter queries, the same way as in FilterAggregationBuilder #22076
- Fix cross_fields type on multi_match query with synonyms #21638 (issue: #21633)
- Search Templates
- Settings
- Snapshot/Restore
- Stats
- Term Vectors
Regressions
edit- Core
- Logging
- Search