打分范围是多少?
加入不了。另外。中文比对的打分范围是多少? 比如我定义了字段 @Field(type = FieldType.Text,analyzer = "index_ansj",searchAnalyzer = "query_ansj") String description;
使用POSTMAN进行查询 {
"query": {
"function_score": {
"boost_mode": "replace",
"query": {
"bool": {
"should": [{
"match": {
"description": "测试"
}
}
]
}
}
}
}
}
结果。。打分超过了1??????? 请问打分范围到底是多少? 还有。QQ群到底是多少,加入不了啊。
没有范围分数是累积的
在2019年10月23日 14:58,MarsZhang 写道:
加入不了。另外。中文比对的打分范围是多少? 比如我定义了字段 @field(type = FieldType.Text,analyzer = "index_ansj",searchAnalyzer = "query_ansj") String description;
使用POSTMAN进行查询 {
"query": {
"function_score": {
"boost_mode": "replace",
"query": {
"bool": {
"should": [{
"match": {
"description": "测试"
}
}
]
}
}
}
}
}
结果。。打分超过了1??????? 请问打分范围到底是多少? 还有。QQ群到底是多少,加入不了啊。
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
那如何做归一化处理?
这个是lucene的特性 和分词没有关系 归一化可以自己算
在2019年11月11日 11:25,MarsZhang 写道:
那如何做归一化处理?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.