"settings": {
"number_of_shards": 3,
"analysis": {
"analyzer": {
"my_analyzer":{
"tokenizer": "ik_max_word",
"filter": "py"
}
},
"filter": {
"py": {
"type": "pinyin",
"keep_full_pinyin": false,
"keep_joined_full_pinyin": true,
"keep_original": true,
"remove_duplicated_term": true,
"none_chinese_pinyin_tokenize": false
}
}
}
"suggestion":{
"type": "completion",
"analyzer": "my_analyzer",
"search_analyzer": "ik_smart"
}
After the complex of the Completion type, use the suggest query without problems when I want to use Query March query, I can't find data,unique match is when I enter the content and suggestion content, Is it unable to use Query queries?