Commit 0d75856a by Sxy

fix: 优化近义词

parent cf9c6011
......@@ -652,36 +652,7 @@ async function nineteen(name, length, zhlength, enlength, otherlength, boost) {
"boost": boost
}
}
}
],
"must_not": [
{
"term": {
"name.jingque": {
"value": name.toLowerCase()
}
}
}, {
"wildcard": {
"name.jingque": {
"value": `*${name.toLowerCase()}*`
}
}
}
]
}
},
{
"bool": {
"must": [
{
"match_phrase": {
"name.english": {
"query": name,
"boost": boost
}
}
}
},
],
"must_not": [
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment