The Elasticsearch core team recently published Elasticsearch version 5.1. This is a major version, and it has several breaking changes that required serious dev time from our team to address. We are proud to announce you can now deploy Elasticsearch 5.1 as a service on Qbox.io.
Version 5.1 has several significant changes that grant a superior and more cohesive cloud experience for our customers.
- Faster indexing performance
- New data processing and pipeline through Ingest API, dedicated Ingestion nodes
- New default scripting language “Painless” is fast and secure
- New fields and structure improvements
- Major Search API speed improvements
- New error messaging and features for a more informed user experience
- Greater intelligence and improvements for Resiliency
- New(!!!) Java REST client
- Migration Helper plugin to prepare 2.x cluster for 5.x upgrade
We’re excited about all the work that went into this release by the Elastic team and the open source community that supports it.
Contact our support team when you’re ready to get help with your migration to Elasticsearch 5.1.
A lot has changed from 2.x to 5.x. Several deprecated features from previous versions have been removed, and many changes were made. Consult the breaking changes documentation for more in-depth details, and please read all breaking changes thoroughly before you upgrade to 5.x production.
Below are topics (with links) that many of our customers will find important:
- Upgrading Indices to 5.x — If you are using 1.x or 0.90, you will need to reindex your data to 2.x or 5.x for these indices to be readable by 5.x. Here are a couple of options to reindexing for upgrades to an ES version.
- Search and Query DSL removals, replacements and changes — If you use Elasticsearch to query or search, we highly recommend reading this entire section.
- Mapping field changes, removals, and replacements — Many major changes, removals, and replacements; _timestamp and _ttl no longer valid.
- Aggregation field refactoring, accepted value changes — Size can no longer be zero; no more fractional time values (1.5h), significant term, and ip range changes.
- Index API changes, removals — Warmer API and warmers removed; closing/deleting snapshotting indices will now fail; more. No longer allows indices to be created started with – or +, stats and parameter changes.
- Suggester changes — Completion suggester has been completely rewritten, and response/syntax/structure has changed.
- Percolator configuration and use changes/deprecation — Percolator and multi-percolate APIs have been deprecated and will be removed in a later major version. Both APIs are replaced by percolate query,
- Document API — Changes to refresh, field deprecations, and renames.
- Cluster/Node/Index Setting changes — Major changes have been handled by Qbox in the backend for you.
- Scripting/Templates — Major changes, deprecations, removals/replacements. If you use scripts/templates, read this entire section.
- Shard allocation and reroute changes — If you are performing any reroute or shard manipulation, this is a very important section.
- JAVA API changes — If you are using the JAVA API, we highly recommend reading this entire section.
- REST API changes and removals —
- Unrecognized query string parameters will fail a request.
- Index creation endpoint now only accepts PUT, previously accepted POST.
- ID values longer than 512 bytes are rejected.
- Analyze API parameters filters and char_filters renamed to filter and char_filter. token_filters parameter has been removed; use filter instead.
- Unquoted JSON field names are now forbidden; temporary option. Delasticsearch.json.allow_unquoted_field_names added.
- DELETE /_query endpoint removed because Delete-By-Query plugin has been replaced by Delete By Query API.
- Create stored script endpoint removed; indexed scripts have been replaced by stored scripts.
- Create stored template endpoint removed.
- Support detecting content in Java properties format (line-delimited key=value pairs) removed in REST endpoints (e.g., cluster update index settings).
Tiers of 5.1 Qbox Support
Here’s our commitment on the timing for different levels of needs. They are all completely free as part of your account.
To upgrade your version on Qbox, fill out a support ticket or select 5.1 when you launch a new cluster. As always, checking for breaking changes in a staging environment is suggested.
If you have any questions, concerns, or requests, please contact our support team for help.