bump hannoy to 0.6

This commit is contained in:
nnethercott
2025-09-16 11:02:46 +02:00
parent 5bef2f4d86
commit a47888f02c
3 changed files with 14 additions and 4 deletions

View File

@ -705,7 +705,7 @@ impl VectorStore {
&'a self,
rtxn: &'a RoTxn<'a>,
db: hannoy::Database<D>,
) -> impl Iterator<Item = Result<hannoy::Reader<'a, D>, hannoy::Error>> + 'a {
) -> impl Iterator<Item = Result<hannoy::Reader<D>, hannoy::Error>> + 'a {
vector_store_range_for_embedder(self.embedder_index).filter_map(move |index| {
match hannoy::Reader::open(rtxn, index, db) {
Ok(reader) => match reader.is_empty(rtxn) {