You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add DecodeCount() to bm25enc for O(1) entry count reads without
full decode, preventing OOM on legacy migration with large posting
lists (e.g., common terms with millions of entries)
- Use DecodeCount in WAND search legacy DF calculation path
- Fix integer overflow in DecodeDir bounds check by using uint64
arithmetic (prevents panic on corrupted data with MaxUint32 count)
- Pre-allocate shared score buffer in handleBM25Search with
three-index slices to prevent accidental append corruption
- Document bm25Writes concurrency model and limitations
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
0 commit comments