mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
Don't make the type-that-shall-not-be-written serializable
Following tamo's advice Co-Authored-By: Tamo <tamo@meilisearch.com>
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
use heed::RwTxn;
|
use heed::RwTxn;
|
||||||
use roaring::RoaringBitmap;
|
use roaring::RoaringBitmap;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::Deserialize;
|
||||||
|
|
||||||
use super::UpgradeIndex;
|
use super::UpgradeIndex;
|
||||||
use crate::progress::Progress;
|
use crate::progress::Progress;
|
||||||
@ -34,7 +34,7 @@ impl UpgradeIndex for Latest_V1_14_To_Latest_V1_15 {
|
|||||||
/// # Warning
|
/// # Warning
|
||||||
///
|
///
|
||||||
/// This object should not be rewritten to the DB, only read to get the name and `user_provided` roaring.
|
/// This object should not be rewritten to the DB, only read to get the name and `user_provided` roaring.
|
||||||
#[derive(Debug, Deserialize, Serialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
pub struct IndexEmbeddingConfig {
|
pub struct IndexEmbeddingConfig {
|
||||||
pub name: String,
|
pub name: String,
|
||||||
pub user_provided: RoaringBitmap,
|
pub user_provided: RoaringBitmap,
|
||||||
|
Reference in New Issue
Block a user