mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-15 13:58:36 +02: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:
parent
5f8f48ec95
commit
4623691d1f
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue