-
Notifications
You must be signed in to change notification settings - Fork 508
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
[BUG] IDF change to 0 after writing the same text three times #4651
Comments
@freecw Hi. |
@meiravgri it seems the "IDF" will change to 0 after we deleting another key |
I've found the root cause for this bug and opened an internal ticket to our team. |
@meiravgri Thanks, could you please share the root cause? And any expected time for addressing this? |
sure
Since idx->numDocs reflects the number of valid docs + updated docs that weren’t yet cleaned by the gc, AND the default gc threshold is 100, the score is calculated based on wrong index statistics. As a temporary workaround you can decrease the the gc threshold: |
Thanks @meiravgri . Any update on addressing this issue is highly appreciated. |
The text was updated successfully, but these errors were encountered: