diff --git a/mapping.json b/mapping.json new file mode 100644 index 0000000..83a5e9d --- /dev/null +++ b/mapping.json @@ -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" } + } + } + } + } +}