This commit is contained in:
Louis Dureuil
2025-12-03 23:00:32 +01:00
parent 4833da9edb
commit 8fa253c293
2 changed files with 2 additions and 7 deletions

View File

@@ -30,4 +30,4 @@ impl UpgradeIndex for AddNewStats {
fn description(&self) -> &'static str {
"Computing newly introduced document stats"
}
}
}

View File

@@ -9,12 +9,7 @@ use crate::{Index, InternalError, Result};
pub(super) struct SwitchToMultimodal();
impl UpgradeIndex for SwitchToMultimodal {
fn upgrade(
&self,
wtxn: &mut RwTxn,
index: &Index,
_progress: Progress,
) -> Result<bool> {
fn upgrade(&self, wtxn: &mut RwTxn, index: &Index, _progress: Progress) -> Result<bool> {
let v1_15_indexing_configs = index
.main
.remap_types::<Str, SerdeJson<Vec<super::v1_15::IndexEmbeddingConfig>>>()