No more than 1 mapping type on elastic



I just made the upgrade of elastic search from 5.6 to 6.0 and when I tried to rebuild my indexes I got this message:

Rejecting mapping update to [hfrence] as the final mapping would have more than 1 type: [user, saved_search]

Help please


Hi fisher,

In elasticsearch 6.0, an index cannot have multiple document type. You can only have one document type per index.
You can create on index per document type to handle this.
You can follow this link for more explanation:


Wooh!! That means there are many changes in the ongoing version of elasticsearch…
Let me try this an check those new and amazing features they have surely added too.
Thanks for the info @admin