怎么又是你

position都相同 用 match_phrase 查不出来是什么情况啊大佬们?

Elasticsearch | 作者 dxyz | 发布于2021年07月08日 | 阅读数:939

PD-1 inhibitors for urothelial cancer: combination or sequential therapy? - Authors' reply. 的其中一部分
PD-1 inhibitors for urothelial cancer
用 match_phrase 查不出来是什么情况啊大佬们? position都相同
已邀请:

FFFrp

赞同来自:

分词先看看

tongchuan1992 - 学无止境、学以致用

赞同来自:

你这个是必然的,需要把标点符号:combination都得加上才能检索到

f_on

赞同来自:

match_phrase 这是短语匹配。。你的看下词库中有没有这个词

yuechen323 - 晨儿哥

赞同来自:

我可以查到
put enidx/_doc/1
{
"text": "PD-1 inhibitors for urothelial cancer: combination or sequential therapy? - Authors' reply. "
}

post enidx/_search
{
"query": {
"match_phrase": {
"text": "PD-1 inhibitors for urothelial cancer"
}
}
}
 

要回复问题请先登录注册