"type": "mapper_parsing_exception", "reason": "Root mapping definition has unsupported parameters


(Ramya) #1

PUT /thegame/weapons/_mapping?ignore_conflicts=true
{
"mappings": {
"weapons": {
"properties": {
"name": {
"type": "string",
"analyzer": "full_name"
},
"description": {
"type": "string"
},
"category": {
"type": "string"
}
}
}
},
"settings": {
"analysis": {
"analyzer": {
"full_name": {
"filter": [
"standard",
"lowercase",
"asciifolding"
],
"type": "custom",
"tokenizer": "standard"
}
}
}
}
}
I have to update mapping in my index but it shows parsing exception.How to I update mapping in already existing index


(Lee Hinman) #2

Can you include the entire output of the exception response that Elasticsearch returns?

It should have more information about which part(s) are the unsupported parameters.


(Ramya) #3

Hi dakrone ,thank you
I tried to update mapping for existing index so I have done another example but this time also got error
please see this

thanks in advance..


(system) #4

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