Hello folks
I am typing a structure for an index. I am getting
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "Rejecting mapping update to [animals] as the final mapping would have more than 1 type: [carnivore, herbivore]"
}
PUT /animals/_mapping/carnivore
{
"properties": {
"name":
{
"type": "text",
"analyzer": "standard"
}
}
}
PUT /animals/_mapping/herbivore
{
"properties": {
"name":
{
"type": "text",
"analyzer": "standard"
}
}
}