Skip to content

Fix tinql, boldi-vigna, and scoring bugs - #23

Merged
piki merged 2 commits into
mainfrom
piki/bug-fixes
Oct 7, 2026
Merged

piki merged 2 commits into
mainfrom
piki/bug-fixes

Conversation

@piki

@piki piki commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

This backports some tinql and boldi-vigna bugfixes from TIN v1.0.6.

It also fixes a discrepancy between TIN BM25 scoring (which ignores empty documents) and Lead BM25 scoring (which didn't, but now does).

@piki
piki added this pull request to stack #24 October 7, 2026 04:23
Base automatically changed from feature/stemming to main October 7, 2026 19:56
piki added 2 commits October 7, 2026 15:56
TIN never inserts empty documents into the index, which means they don't
count toward the number of documents or average doc length for BM25
calculations.

Lead now matches that behavior.
@piki
piki merged commit 4a9bd39 into main Oct 7, 2026
4 checks passed
@piki
piki deleted the piki/bug-fixes branch October 7, 2026 20:25
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