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.
Breaking changes in 5.5
editBreaking changes in 5.5
editIgnoring hidden folders
editPrevious versions of Elasticsearch would skip hidden files and directories when scanning the plugins folder. This allows broken plugin installs to remain undetected so this leniency has been removed.
Skip setting kernel parameters
editElasticsearch attempts to set the kernel parameter vm.max_map_count
during
installation. In some environments this can fail. Previous versions of
Elasticsearch accepted a flag ES_SKIP_SET_KERNEL_PARAMTERS
to skip this
writing. Starting in Elasticsearch 5.5.0, this flag has been removed and
instead the same functionality can be achieved by masking the systemd-sysctl
service.
RPM and Debian packages setgid
on /etc/elasticsearch
editThe RPM and Debian packages now set the setgid
flag on /etc/elasticsearch
so
that any files and subdirectories created under /etc/elasticsearch
have the
same ownership as /etc/elasticsearch
(root:elasticsearch
). This is used to
ensure that files and subdirectories created under /etc/elasticsearch
(e.g., a
keystore) are readable by the elasticsearch
user.
404s on get alias and get mapping APIs
editPrevious versions of Elasticsearch did not return a 404 in all cases when a requested alias or a requested type did not exist on the get alias or get mapping APIs, respectively. Starting in Elasticsearch 5.5.0, these APIs consistently return a 404 in any case when an alias or type is requested that does not exist.
Java API changes
editThe has_child
, has_parent
and parent_id
queries have moved to parent-join module. Also the
children
aggregation has been moved to the parent-join module.
The parent-join module should be loaded when using the transport client. Alternatively use the PreBuiltTransportClient
client, which load the module automatically.