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

IDF is negative value in some case when cross field search #66485

Closed
CougarsJ opened this issue Dec 17, 2020 · 1 comment
Closed

IDF is negative value in some case when cross field search #66485

CougarsJ opened this issue Dec 17, 2020 · 1 comment

Comments

@CougarsJ
Copy link

I search (cross field multi match) documents that has name and address fields. In most of documents ,the name field is null. when i check IDF(name) value ,I found n greater than N,so the IDF is an negative value . I think N must be the documents count that contain address or name field ,not just name field.

the es version is 7.7.1

@jimczi
Copy link
Contributor

jimczi commented Dec 17, 2020

Thanks for reporting @CougarsJ , the issue is already tracked in #44700 so I hope you don't mind if I close this one. You can follow the progress on the linked issue.

@jimczi jimczi closed this as completed Dec 17, 2020
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