我最近遇到了渗透查询,我想知道它是否可以与模糊搜索选项一起使用?我正在按照链接中给出的示例进行操作,并注意到如果有拼写错误,则它不匹配,所以我想知道是否有办法使用模糊搜索来解决这个问题。
GET /my-index/_search
{
"query" : {
"percolate" : {
"field": "query",
"document_type" : "doctype",
"document" : {
"message" : "The quick brown fox jumps over the lazy dog"
}
}
},
"highlight": {
"fields": {
"message": {}
}
}
}