參考文章
- 在 Kibana的 Dev Tools中進行操作
命令一
POST _analyze
{
"analyzer": "ik_max_word",
"text": "我是中國人"
}
或查詢 (and查詢將should換成must)
POST /blog/_search
{
"query": {
"bool": {
"should": [
{
"match_phrase": {
"title": "springboot"
}
},
{
"match_phrase": {
"content": "springboot"
}
}
]
}
}
}