mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-10-12 06:36:33 +00:00
Use Hannoy instead of arroy
This commit is contained in:
committed by
Louis Dureuil
parent
580bfb06b4
commit
affcaef556
@@ -1,4 +1,4 @@
|
||||
use arroy::distances::Cosine;
|
||||
use hannoy::distances::Cosine;
|
||||
use heed::RwTxn;
|
||||
|
||||
use super::UpgradeIndex;
|
||||
@@ -25,12 +25,13 @@ impl UpgradeIndex for Latest_V1_13_To_Latest_V1_14 {
|
||||
progress.update_progress(VectorStore::UpdateInternalVersions);
|
||||
|
||||
let rtxn = index.read_txn()?;
|
||||
arroy::upgrade::from_0_5_to_0_6::<Cosine>(
|
||||
&rtxn,
|
||||
index.vector_arroy.remap_data_type(),
|
||||
wtxn,
|
||||
index.vector_arroy.remap_data_type(),
|
||||
)?;
|
||||
// hannoy::upgrade::from_0_5_to_0_6::<Cosine>(
|
||||
// &rtxn,
|
||||
// index.vector_hannoy.remap_data_type(),
|
||||
// wtxn,
|
||||
// index.vector_hannoy.remap_data_type(),
|
||||
// )?;
|
||||
unimplemented!("upgrade hannoy");
|
||||
|
||||
Ok(false)
|
||||
}
|
||||
|
Reference in New Issue
Block a user