can we define multiple types in one index in elasticsearch version 6.1.
When I am trying to define mappings of more than 1 types it results in following error-
Rejecting mapping update to [contents-en] as the final mapping would have more than 1 type: [topic, page]
1 Like
No. Not for new indices.
1 Like
No you cannot have several types within a single index as of ES 6.0.0, so the error message you're receiving is normal.
Consult the above link for ideas on how to solve this, most probably you need to have two indices.
2 Likes
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.