elasticsearch模糊查询

like %李四% 可以使用以下语法

{
“match_phrase”: {
“nickname”: {“query”:“李明”}
}
}

{
“wildcard”: {
“nickname.keyword”: “李明
}
}

猜你喜欢

转载自blog.csdn.net/shooke/article/details/84564196
今日推荐