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 <span class="inline-code"><pre><code>string</code></pre></span> type and has been replaced with <span class="inline-code"><pre><code>text</code></pre></span> and <span class="inline-code"><pre><code>keyword</code></pre></span>.
Analyze your mappings and look for <span class="inline-code"><pre><code>string</code></pre></span> mapping types. You will want to review how you use those fields to determine if you should use <span class="inline-code"><pre><code>text</code></pre></span> or <span class="inline-code"><pre><code>keyword</code></pre></span> going forward.
<span class="inline-code"><pre><code>text</code></pre></span>: you want full text search analysis on
<span class="inline-code"><pre><code>keyword</code></pre></span>: you want to search for the value exactly as is, a PO Number, or url for example
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.
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.