Skip to content

feat: Implement Reciprocal Rank Fusion, Bloom Filter, and Roaring Bit… - #12

Merged
Lotargo merged 1 commit into
mainfrom
feature-rrf-bloom-roaring-filters-13670194572528904523
Mar 10, 2026
Merged

Lotargo merged 1 commit into
mainfrom
feature-rrf-bloom-roaring-filters-13670194572528904523

Conversation

@Lotargo

@Lotargo Lotargo commented Mar 10, 2026

Copy link
Copy Markdown
Owner

…map filters

  • Add BloomFilter implementation with 0-allocation (post-init) using MurmurHash3 for fast metadata containment checks.
  • Add DocumentFilter class wrapping roaring::Roaring to enable logical operations (AND, OR, AND NOT) on sets of document IDs.
  • Add reciprocal_rank_fusion algorithm to intelligently merge result sets from vector and lexical searches, with configurable k value.
  • Refactored SearchResult out of hnsw.hpp into types.hpp for shared usage across search components.
  • Integrated all new components into the CMake build system.
  • Added comprehensive unit test suites covering correct functionality and edge cases.
  • Updated project roadmap and TODO lists.

…map filters

- Add `BloomFilter` implementation with 0-allocation (post-init) using MurmurHash3 for fast metadata containment checks.
- Add `DocumentFilter` class wrapping `roaring::Roaring` to enable logical operations (AND, OR, AND NOT) on sets of document IDs.
- Add `reciprocal_rank_fusion` algorithm to intelligently merge result sets from vector and lexical searches, with configurable `k` value.
- Refactored `SearchResult` out of `hnsw.hpp` into `types.hpp` for shared usage across search components.
- Integrated all new components into the CMake build system.
- Added comprehensive unit test suites covering correct functionality and edge cases.
- Updated project roadmap and TODO lists.
@Lotargo
Lotargo merged commit 46b8d1a into main Mar 10, 2026
4 checks passed
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.

1 participant