-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
ES版本:5.6.4
查询语句:
GET _sql?sql=select id,name from products_index where name=matchQuery('长裤') order by _score desc limit 2
explain结果如下:
{
"from" : 0,
"size" : 2,
"query" : {
"bool" : {
"must" : [
{
"match" : {
"name" : {
"query" : "��",
"operator" : "OR",
"prefix_length" : 0,
"max_expansions" : 50,
"fuzzy_transpositions" : true,
"lenient" : false,
"zero_terms_query" : "NONE",
"boost" : 1.0
}
}
}
],
"disable_coord" : false,
"adjust_pure_negative" : true,
"boost" : 1.0
}
},
"_source" : {
"includes" : [
"id",
"name"
],
"excludes" : [ ]
},
"sort" : [
{
"_score" : {
"order" : "desc"
}
}
]
}
初步怀疑编码处理有问题,请教下社区大神,帮忙看看这个是什么问题?
Metadata
Metadata
Assignees
Labels
No labels