From b88a8736351316479b594e2e9fc4237ac91fa1ca Mon Sep 17 00:00:00 2001 From: "Maxence G. de Montauzan" Date: Tue, 17 Oct 2017 01:54:49 +0200 Subject: [PATCH] ELS mapping! --- mapping.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 mapping.json 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" } + } + } + } + } +}