我有以下数据: makeStr:施乐 modelStr:Designjet 1050C
我希望它匹配
施乐
Designjet 1050C Plus打印机
但它匹配 教规 DesignJet 1050C
目前我有这个查询
"query": {
"bool": {
"should":
{
"multi_match": {
"query": modelStr,
"type": "most_fields",
"fields": ['model.alphanum']
}
}
,
"filter": [
{
"match": {
"make.blur": makeStr
}
},
{
"match": {
"model.blur": modelStr
}
}
]
}
},
"functions": [{
"field_value_factor": {
"field": "isMpsSupported",
"factor": 1,
"missing": 0
}
}],
"boost_mode": "sum"
}
如何优先考虑makeStr,以便在搜索过程中同时考虑makeStr和modelStr。