mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-12-17 01:46:58 +00:00
fmt
This commit is contained in:
@@ -9,12 +9,7 @@ use crate::{Index, InternalError, Result};
|
|||||||
pub(super) struct SwitchToMultimodal();
|
pub(super) struct SwitchToMultimodal();
|
||||||
|
|
||||||
impl UpgradeIndex for SwitchToMultimodal {
|
impl UpgradeIndex for SwitchToMultimodal {
|
||||||
fn upgrade(
|
fn upgrade(&self, wtxn: &mut RwTxn, index: &Index, _progress: Progress) -> Result<bool> {
|
||||||
&self,
|
|
||||||
wtxn: &mut RwTxn,
|
|
||||||
index: &Index,
|
|
||||||
_progress: Progress,
|
|
||||||
) -> Result<bool> {
|
|
||||||
let v1_15_indexing_configs = index
|
let v1_15_indexing_configs = index
|
||||||
.main
|
.main
|
||||||
.remap_types::<Str, SerdeJson<Vec<super::v1_15::IndexEmbeddingConfig>>>()
|
.remap_types::<Str, SerdeJson<Vec<super::v1_15::IndexEmbeddingConfig>>>()
|
||||||
|
|||||||
Reference in New Issue
Block a user