this my setting
PUT test
{
"settings": {
"analysis": {
"char_filter": {
"my_tsconvert": {
"convert_type": "t2s",
"type": "stconvert"
}
},
"filter": {
"my_synonym": {
"type": "synonym_graph",
"synonyms_path": "analysis/Test.txt",
"updateable": true
}
},
"analyzer": {
"full_chinese": {
"filter": ["my_synonym", "lowercase"],
"type": "custom",
"tokenizer": "standard"
}
}
}
},
"mappings": {
"properties": {
"name": {
"type":"text",
"fields":{
"search":{
"type":"text"
},
"searchsss":{
"type":"text",
"analyzer":"full_chinese"
}
}
}
}
}
}