Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打分范围是多少? #175

Open
makefriend8 opened this issue Oct 23, 2019 · 3 comments
Open

打分范围是多少? #175

makefriend8 opened this issue Oct 23, 2019 · 3 comments

Comments

@makefriend8
Copy link

加入不了。另外。中文比对的打分范围是多少?
比如我定义了字段
@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群到底是多少,加入不了啊。

@ansjsun
Copy link
Member

ansjsun commented Oct 23, 2019 via email

@makefriend8
Copy link
Author

那如何做归一化处理?

@ansjsun
Copy link
Member

ansjsun commented Nov 11, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants