mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
write the compat layer from v2 to v3
This commit is contained in:
parent
6107540ad4
commit
06fadb3004
19 changed files with 1737 additions and 36 deletions
|
@ -78,7 +78,7 @@ pub struct V3Reader {
|
|||
dump: TempDir,
|
||||
metadata: Metadata,
|
||||
tasks: BufReader<File>,
|
||||
pub index_uuid: Vec<IndexUuid>,
|
||||
index_uuid: Vec<IndexUuid>,
|
||||
}
|
||||
|
||||
impl V3Reader {
|
||||
|
@ -100,6 +100,10 @@ impl V3Reader {
|
|||
})
|
||||
}
|
||||
|
||||
pub fn index_uuid(&self) -> Vec<IndexUuid> {
|
||||
self.index_uuid.clone()
|
||||
}
|
||||
|
||||
pub fn to_v4(self) -> CompatV3ToV4 {
|
||||
CompatV3ToV4::new(self)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue