Hi all,
I have questions about change string datatype to text or keyword datatype when upgrading elasticsearch from 2.x to 5.x.
As I read from the document: Indexes imported from 2.x only support string and not text or keyword. To ease the migration from 2.x Elasticsearch will downgrade text and keyword mappings applied to indexes imported from 2.x into string.
The 'import' here means the 5.x elasticsearch directly points to existing 2.x data path?
What if I create new index in 5.x with datatype keyword and use reindex to dump documents from 2.x to 5.x? Will the keyword mapping be downgrade to string?
When I get index mapping information, it shows keyword both before and after I do reindex.
Does it means this mechanism can migrate string to keyword? and can then be easily upgrade to 6.x?
Thanks