Closed dmcqueen closed 9 years ago
No problem. It's useful for migrating data to a new schema when you want to change field types or indexing options in the mapping.
For that I added the --mapping
option with which you can define whatever mapping you want to have. I figured you can use that to set an empty mapping and not overwrite the existing one, but my thought was that it might be easier for someone to use your added option if they just don't want to touch the mapping and skip that step completely (in v2.0 I can probably also skip the fetch step and make it overall a little faster).
I saw that option but was already defining my mapping earlier in the migration process so just made more sense to do it once.
Thanks for the patch. I never considered this requirement. I'll port it to 2.0 as well.