Fix the upgrade arroy calls

This commit is contained in:
Kerollmops 2025-03-11 15:33:29 +01:00
parent bef5954741
commit fedb444e66
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
2 changed files with 7 additions and 6 deletions

View file

@ -78,9 +78,9 @@ pub fn v1_10_to_v1_11(
meilisearch_types::milli::arroy::upgrade::cosine_from_0_4_to_0_5(
&index_rtxn,
index_read_database,
index_read_database.remap_types(),
&mut index_wtxn,
index_write_database,
index_write_database.remap_types(),
)?;
index_wtxn.commit()?;