Mappings of different types in one index

Excuse me, if there are two types in the same index, these two types have their own mapping. These two mappings use some fields with the same name, but the field types are different. Will there be conflict?


Having multiple types is not supported anymore. Types will be removed. Read

The version I use now is 5.8.x, and the type still works .

David Pilato via Discuss the Elastic Stack <> 于2020年6月19日周五 上午11:01写道:

5.x is not supported anymore.
Read the link I shared.

No, I do not think that is allowed in Elasticsearch 5.x. If this remember correctly it was possible in much earlier versions but as it caused a lot of problems that was changed. Document types are now being deprecated completely so I recommend you adjust to this to simplify upgrading, which I also recommend you do.

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