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

Read more articles about Compose databases - use our Curated Collections Guide for articles on each database type. If you have any feedback about this or any other Compose article, drop the Compose Articles team a line at articles@compose.com. We're happy to hear from you.

attribution Paul Larkin

Dj Walker-Morgan
Dj Walker-Morgan was Compose's resident Content Curator, and has been both a developer and writer since Apples came in II flavors and Commodores had Pets. Love this article? Head over to Dj Walker-Morgan’s author page to keep reading.

Conquer the Data Layer

Spend your time developing apps, not managing databases.