[go: nahoru, domu]

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

Disable IDF - workaround? #1655

Open
AliFlux opened this issue Oct 30, 2022 · 4 comments
Open

Disable IDF - workaround? #1655

AliFlux opened this issue Oct 30, 2022 · 4 comments

Comments

@AliFlux
Copy link
AliFlux commented Oct 30, 2022

Is there a way to disable IDF from scoring. Just like how we disable field norms?

Apparently a lot of people want to disable IDF in search engines. There is a way to do it in Elasticsearch, but not here?

@AliFlux
Copy link
Author
AliFlux commented Nov 8, 2022

If not possible. Can anyone please point me to a direction? Like where exactly is the IDF score being applied in the codebase?

Thanks.

@AliFlux
Copy link
Author
AliFlux commented Nov 8, 2022

CC: @fmassot @fulmicoton

@fulmicoton
Copy link
Collaborator
fulmicoton commented Nov 9, 2022

Is it something you actually need or is it a general suggestion? The IDF is used in the BM25 score computation.

@AliFlux
Copy link
Author
AliFlux commented Nov 9, 2022

I need it for a pet research project. But it would be great if there is a built-in support to toggle this in tantivy.

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