mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-06 04:36:32 +00:00
Reintroduce arroy and support for dumpless upgrade from previous versions
This commit is contained in:
@ -660,10 +660,10 @@ fn hair_dryer(
|
||||
match part {
|
||||
IndexPart::Hannoy => {
|
||||
let mut count = 0;
|
||||
let total = index.vector_hannoy.len(&rtxn)?;
|
||||
let total = index.vector_store.len(&rtxn)?;
|
||||
eprintln!("Hair drying hannoy for {uid}...");
|
||||
for (i, result) in index
|
||||
.vector_hannoy
|
||||
.vector_store
|
||||
.remap_types::<Bytes, Bytes>()
|
||||
.iter(&rtxn)?
|
||||
.enumerate()
|
||||
|
@ -82,13 +82,12 @@ pub fn v1_10_to_v1_11(
|
||||
try_opening_poly_database(&index_env, &index_wtxn, db_name::VECTOR_STORE)
|
||||
.with_context(|| format!("while updating date format for index `{uid}`"))?;
|
||||
|
||||
// meilisearch_types::milli::hannoy::upgrade::cosine_from_0_4_to_0_5(
|
||||
// &index_rtxn,
|
||||
// index_read_database.remap_types(),
|
||||
// &mut index_wtxn,
|
||||
// index_write_database.remap_types(),
|
||||
// )?;
|
||||
unimplemented!("Hannoy doesn't support upgrading");
|
||||
meilisearch_types::milli::arroy::upgrade::cosine_from_0_4_to_0_5(
|
||||
&index_rtxn,
|
||||
index_read_database.remap_types(),
|
||||
&mut index_wtxn,
|
||||
index_write_database.remap_types(),
|
||||
)?;
|
||||
|
||||
index_wtxn.commit()?;
|
||||
}
|
||||
|
Reference in New Issue
Block a user