pypi bm25s 0.3.13

6 hours ago

What's changed

  • Fix opening genuinely empty JSONL corpora: JsonlCorpus now loads zero-byte files as an empty corpus, and integer indexing raises IndexError.
  • Preserve immediate rejection of truncated corpus files whose saved or in-memory line index still contains documents, with file-handle cleanup on failure.
  • Add empty-file coverage and strengthen the stale-index regression tests.

Thanks to @linhongyu510 for #206.

Full changelog: 0.3.12...0.3.13

Don't miss a new bm25s release

NewReleases is sending notifications on new releases.