0
我彈性搜索查詢有一些問題。當我使用查詢代碼時,它會反饋消息[bool]格式不正確的查詢,預計[END_OBJECT],但找到[FIELD_NAME]。布爾格格式錯誤的查詢,預計END_OBJECT,但發現FIELD_NAME
{
"from":0,
"size":15,
"query":{
"bool":{
"must":[
{
"multi_match":{
"query":"books",
"fields":[
"title^20",
"lead^10",
"content"
],
"type":"phrase"
}
}
]
},
"must":{
"match":{
"groupid":"599e4b49239cfa0a5a5f189d"
}
}
},
"sort":[
{
"times":{
"order":"desc"
}
}
]
}