3.2.Mapping
Last updated
index.mapping.total_fields.limitindex.mapping.depth.limit{
"error": {
"root_cause": [
{
"type": "remote_transport_exception",
"reason": "[7bJsCFK][127.0.0.1:9300][indices:data/write/index[p]]"
}
],
"type": "illegal_argument_exception",
"reason": "Limit of mapping depth [20] in index [my_index11] has been exceeded due to object field [manager.name.first.last.last.last.last.last.last.last.last.last.last.last.last.last.last.last.last.last.last.last.last.last.last.last.last.last.last]"
},
"status": 400
}index.mapping.nested_fields.limit{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "Limit of nested fields [50] in index [myindex33] has been exceeded"
}
],
"type": "illegal_argument_exception",
"reason": "Limit of nested fields [50] in index [myindex33] has been exceeded"
},
"status": 400
}PUT my_index
{
"mappings": {
"user": {
"_all": { "enabled": false },
"properties": {
"title": { "type": "text" },
"name": { "type": "text" },
"age": { "type": "integer" }
}
},
"blogpost": {
"_all": { "enabled": false },
"properties": {
"title": { "type": "text" },
"body": { "type": "text" },
"user_id": {
"type": "keyword"
},
"created": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
}
}
}
}
}