Skip to content

Refactor HNSW from mmap to async block-based storage with Env#618

Merged
hicder merged 1 commit intomasterfrom
hicder/remove-mmap
Jan 5, 2026
Merged

Refactor HNSW from mmap to async block-based storage with Env#618
hicder merged 1 commit intomasterfrom
hicder/remove-mmap

Conversation

@hicder
Copy link
Owner

@hicder hicder commented Jan 5, 2026

  • Remove mmap-based HNSW implementation (hnsw/mmap/index.rs)
  • Make Env mandatory for async I/O operations in Collection
  • Simplify reader APIs to use single read() method with Env
  • Change default posting list encoding from PlainEncoding to EliasFano
  • Add public async accessors to block-based HNSW (get_entry_point_top_layer, get_doc_id)
  • Update CLI index viewer to use async runtime and Env
  • Remove HnswBuilder::from_hnsw conversion from mmap implementation

- Remove mmap-based HNSW implementation (hnsw/mmap/index.rs)
- Make Env mandatory for async I/O operations in Collection
- Simplify reader APIs to use single read() method with Env
- Change default posting list encoding from PlainEncoding to EliasFano
- Add public async accessors to block-based HNSW (get_entry_point_top_layer, get_doc_id)
- Update CLI index viewer to use async runtime and Env
- Remove HnswBuilder::from_hnsw conversion from mmap implementation
@hicder hicder merged commit 77b959e into master Jan 5, 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