Commit Graph

6 Commits

Author SHA1 Message Date
xzfc
a0d62330c7 Use fs-err (#7319) 2025-09-29 12:47:10 +00:00
xzfc
079ef6fb13 Implement GraphLinksFormat::CompressedWithVectors (#6982)
* Simplify graph_links tests

* Rstest-ify hnsw_index::tests::test_save_load

* Rename EncodedVectorsU8::{get_quantized_vector => get_quantized_vector_offset_and_code}

Reason: it was inconsistent with other implementations of
get_quantized_vector().

* Add QuantizedVectors::{get_quantized_vectors, get_quantized_vector_layout}

* Rename `links_map` to `for_each_link`

* pack_links: expose the updated `raw_links` order

* TestRawScorerProducer: support quantization

* Make GraphLinksSerializer::new return Result

* Rename links/compressed_links into `neighbors`

* Implement GraphLinksFormat::CompressedWithVectors

* GraphLayersWithVectors

* bitpacking: add packed_links_size

* Reorder neighbors: N__VVVVVVVcccccccccc -> Ncccccccccc__VVVVVVV
2025-08-11 17:28:43 +00:00
xzfc
542f03b033 TestRawScorerProducer to use VectorStorageEnum (#6965)
* TestRawScorerProducer to use VectorStorageEnum

* TestRawScorerProducer:🆕 accept distance as an argument

* Drop TMetric from TestRawScorerProducer

* Remove `impl VectorStorage for TestRawScorerProducer`

* Add TestRawScorerProducer::internal_scorer

* Remove TestRawScorerProducer::get_vector

* Rename TestRawScorerProducer::{get_scorer => scorer}
2025-08-06 09:41:13 +00:00
xzfc
80bf1cefdb Introduce HnswM (#6647) 2025-06-06 11:13:07 +00:00
xzfc
44341bb78d Move filtering logic from RawScorer to FilteredScorer (#6245) 2025-04-23 18:23:25 +00:00
xzfc
613ef07622 Update hnsw_build_asymptotic benchmark (#6299)
* Update hnsw_build_asymptotic benchmark

* Comments and logs
2025-04-07 13:23:22 +00:00