Multiple type in one index in ES 6.1


(Vishal Chaurasia) #1

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]


(David Pilato) #2

No. Not for new indices.


(Val Crettaz) #3

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.


(system) #4

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