Not all suggested document is created in ELS Need to refactor send data
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"settings": {
|
|
"index": {
|
|
"number_of_replicas": 0
|
|
},
|
|
"analysis": {
|
|
"filter": {
|
|
"french_stop": {
|
|
"type": "stop",
|
|
"stopwords": "_french_"
|
|
},
|
|
"english_stop": {
|
|
"type": "stop",
|
|
"stopwords": "_english_"
|
|
}
|
|
},
|
|
"analyzer": {
|
|
"names": {
|
|
"tokenizer": "standard",
|
|
"filter": [
|
|
"lowercase",
|
|
"asciifolding",
|
|
"french_stop",
|
|
"english_stop"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"mappings": {
|
|
"properties": {
|
|
"artist_suggest": {
|
|
"type": "completion",
|
|
"search_analyzer": "names"
|
|
},
|
|
"artist": {
|
|
"type": "keyword"
|
|
},
|
|
"album_suggest": {
|
|
"type": "completion",
|
|
"search_analyzer": "names"
|
|
},
|
|
"album": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
}
|
|
}
|