This document serves to highlight key breaking changes for our customers. It does not represent the full list of breaking changes. As always, we recommend you test your searches on the new version of Elasticsearch before moving forward.
Elasticsearch 5 brings with it the removal of the string
type and has been replaced with text
and keyword
.
General Solutions
Analyze your mappings and look for
string
mapping types. You will want to review how you use those fields to determine if you should use text
or keyword
going forward.
text
: you want full text search analysis on
keyword
: you want to search for the value exactly as is, a PO Number, or url for example
From 2.x
There are no specific tricks for this upgrade process, outside of the General Solution listed above. We would simply recommend you follow our traditional process for testing your searches on a new version of Elasticsearch.
From 1.x
There are no specific tricks for this upgrade process, outside of the General Solution listed above. We would simply recommend you follow our traditional process for testing your searches on a new version of Elasticsearch.