Reindexing with the --exclude types or --update options doesn't update the indexed types' mapping
|Target version:||Release 2.7.0|
|Google Code Legacy ID:||Tested version:||2.6|
With the current version of ES (5.x), the AtoM index includes various types, and the search:populate task includes an option to exclude some of those types and index only the ones you need to speed up the process in some cases. For example, you could index only accession with the following command:
php symfony search:populate --exclude-types="informationObject,term,aip,functionObject,repository,actor"
However, when that option is used the indexed types' mapping is not updated and only the actual documents are deleted and re-indexed.
This is an issue in really big instances for minor mapping changes and fixes to the index, where updating the mapping and documents of a single type could save days of indexing time.