Datatypes a mess after reindexing

Currently elastic version 7.17.3.

We recently reindexed and changed fields to text but we noticed that the field types got all messed up.

This is third party data, and we noticed that the field order is not the same in all of the docs which looks to be part of the cause of the problem. it looks like during reindexing the datatypes to use got applied according to field order, and not by field name.

Is this a bug or?

Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them :slight_smile:

JSON does not guarantee field ordering in anyway sorry to say.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.