(mapping) Use three mappings file instead one unique
This commit is contained in:
27
mapping.albums.json
Normal file
27
mapping.albums.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"mappings" : {
|
||||
"properties": {
|
||||
"Artist": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"raw": {"type": "keyword"}
|
||||
}
|
||||
},
|
||||
"Album Artist": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"raw": {"type": "keyword"}
|
||||
}
|
||||
},
|
||||
"Album": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"raw": {"type": "keyword"}
|
||||
}
|
||||
},
|
||||
"Genre": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
27
mapping.artists.json
Normal file
27
mapping.artists.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"mappings" : {
|
||||
"properties": {
|
||||
"Artist": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"raw": {"type": "keyword"}
|
||||
}
|
||||
},
|
||||
"Album Artist": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"raw": {"type": "keyword"}
|
||||
}
|
||||
},
|
||||
"Album": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"raw": {"type": "keyword"}
|
||||
}
|
||||
},
|
||||
"Genre": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
36
mapping.json
36
mapping.json
@@ -1,36 +0,0 @@
|
||||
{
|
||||
"mappings" : {
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
mapping.songs.json
Normal file
33
mapping.songs.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"mappings" : {
|
||||
"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": "keyword"
|
||||
},
|
||||
"Kind": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user