Elasticsearch 6 comes to Compose


We're pleased to announce that Elasticsearch 6.2.2 is now available on Compose for new deployments and upgrading users. Compose Elasticsearch users can also upgrade today to get all the 6.0 and 6.2 features and enhancements.

What's in Elasticsearch 6 and 6.2

Elasticsearch 6 brought many enhancements to the infrastructure of Elasticsearch to deliver a more reliable and performant search platform. Query times are quicker with sorted indices and sparse fields are significantly smaller. There's also new significant_text aggregation, an IPv6 aware ip_range field type, icu_collation keywords and the removal of the _all keyword.

The subsequent Elasticsearch 6.2 also added a ranking evaluation API, support for Well Known Text in geospatial data and default "safe" search settings to stop accidental overwhelming Elasticsearch.

The release announcements for Elasticsearch 6.0 and 6.2 have more details of the features but do note these details merge proprietary features from Elastic with the open source releases of Elasticsearch.

The end of Multitype Mapping

More importantly, and potentially affecting all users and developers with Elasticsearch 6, the end of multiple type mappings has come. Migrating from Elasticsearch 5 will allow existing indices to have multiple types mapped to the data within it, but new multi-type indices will not be able to be created. Elasticsearch's change is explained in Removal of mapping types in its documentation.

This is a major change and we recommend that users audit their current usage of Elasticsearch to ensure they aren't affected. The functionality will be completely removed in Elasticsearch 7.

Getting Elasticsearch 6


attribution Paul Larkin

Dj Walker-Morgan

Conquer the Data Layer

Spend your time developing apps, not managing databases.