Hi,
Need some help in figuring out how to upgrade a field to multi-field properly. I am using Elasticsearch-1.7.2 on linux.
Here is the put json
{
"filelog": {
"properties": {
"signals": {
"type": "multi_field",
"fields": {
"signals": {
"type": "string",
"index": "analyzed"
},
"raw": {
"index": "not_analyzed",
"type": "string"
}
}
}
}
}
}
But doing get, I get the following field-definition back
{
.... `"signals": {
"type": "string",
"fields": {
"raw": {
"index": "not_analyzed",
"type": "string"
}
}
}
}
Note that the type has changed to "string" instead of multi-field, and there is no "signals" field in the "fields" section. When I query for signals.raw it doesn't work either.
What did I do wrong while updating the mapping?
Thanks,
Dash.