Task #13468

Reindexing with the --exclude types or --update options doesn't update the indexed types' mapping

Added by José Raddaoui Marín 9 months ago. Updated 9 months ago.

Status:NewStart date:01/27/2021
Priority:MediumDue date:
Assignee:-% Done:

0%

Category:CLI tools
Target version:Release 2.7.0
Google Code Legacy ID: Tested version:2.6
Sponsored:No Requires documentation:

Description

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.

History

#1 Updated by José Raddaoui Marín 9 months ago

  • Subject changed from Reindexing with the --exclude types option doesn't update the indexed types' mapping to Reindexing with the --exclude types or --update options doesn't update the indexed types' mapping

Also available in: Atom PDF