(mapping) Update mapping to ELS 7

This commit is contained in:
2020-04-02 01:50:32 +02:00
parent 3d13e19b0b
commit 1728b2a922

View File

@@ -1,41 +1,35 @@
{
"mappings" : {
"song": {
"properties": {
"Artist": {
"type": "multi_field",
"fields": {
"Artist": {"type": "string"},
"original": {"type" : "string", "index" : "not_analyzed"}
}
},
"Album Artist": {
"type": "multi_field",
"fields": {
"Album Artist": {"type": "string"},
"original": {"type" : "string", "index" : "not_analyzed"}
}
},
"Album": {
"type": "multi_field",
"fields": {
"Album": {"type": "string"},
"original": {"type" : "string", "index" : "not_analyzed"}
}
},
"Bit Rate": {
"type": "integer"
},
"Genre": {
"type": "multi_field",
"fields": {
"Genre": {"type": "string"},
"original": {"type" : "string", "index" : "not_analyzed"}
}
},
"Kind": {
"type": "string", "index": "not_analyzed" }
"properties": {
"Artist": {
"type": "text",
"fields": {
"raw": {"type": "keyword"}
}
},
"Album Artist": {
"type": "text",
"fields": {
"raw": {"type": "keyword"}
}
},
"Album": {
"type": "text",
"fields": {
"raw": {"type": "keyword"}
}
},
"Bit Rate": {
"type": "integer"
},
"Genre": {
"type": "text",
"fields": {
"raw": {"type": "keyword"}
}
},
"Kind": {
"type": "keyword"
}
}
}