ELS mapping!

This commit is contained in:
2017-10-17 01:54:49 +02:00
parent 7a1a1c7c17
commit b88a873635

42
mapping.json Normal file
View File

@@ -0,0 +1,42 @@
{
"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" }
}
}
}
}
}