ES7.16.2基础操作之slop查询(三)
## slop移动次数查询:slop==1表示中间间隔几个单词GET customer/_search{"query": {"match_phrase": {"introduce": {"query": "Java spark","slop": 1}}}}
·
## slop移动次数查询:slop数值越大,匹配度越高
GET customer/_search
{
"query": {
"match_phrase": {
"introduce": {
"query": "Java spark",
"slop": 1
}
}
}
}
slop匹配1个示例:
slop匹配多个示例:
更多推荐
已为社区贡献3条内容
所有评论(0)