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

Fix bad total snippets counts. #433

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Fix bad total snippets counts. #433

merged 1 commit into from
Jun 3, 2024

Conversation

jbaiter
Copy link
Member

@jbaiter jbaiter commented May 29, 2024

Turns out we were mixing up the counts between multiple documents by keying according to the leaf-reader-relativ docId instead of the index-absolute docId. This led to differing total counts between different runs of one and the same query, which is how this was discovered. Total counts should be accurate now.

@jbaiter jbaiter force-pushed the fix-wrong-totalcount branch from f49c919 to e0c4720 Compare May 29, 2024 10:08
@jbaiter jbaiter force-pushed the fix-wrong-totalcount branch from e0c4720 to 6c14c34 Compare June 3, 2024 15:05
schmika
schmika previously approved these changes Jun 3, 2024
Turns out we were mixing up the counts between multiple documents by
keying according to the leaf-reader-relativ docId instead of the
index-absolute docId. This led to differing total counts between
different runs of one and the same query, which is how this was
discovered. Total counts should be accurate now.
@jbaiter jbaiter merged commit 6eb02e9 into main Jun 3, 2024
6 checks passed
@morpheus-87 morpheus-87 deleted the fix-wrong-totalcount branch June 4, 2024 05:49
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

Successfully merging this pull request may close these issues.

2 participants