## Updating Elasticsearch
TL;DR When you update the mapping, use Reindex, when you add a mapping, use UpdateMapping
On occasion you will need to update the our Elasticsearch mappings. Unfortunately, you need to change the mapping and then reindex the data to apply said change. Read more about the inspiration
$ sbt
> scripts/run Reindex <ES_HOST>
When you add a mapping e.g. You add a new field to the image mapping
you should add the mapping with this script as we are using strict
mappings (you cannot just add things willy nilly).
$ sbt
> scripts/run UpdateMapping <ES_HOST>