mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Keep IndexUidPattern
This commit is contained in:
parent
25c19a306b
commit
37a692f942
2 changed files with 9 additions and 9 deletions
|
@ -30,7 +30,7 @@ impl IndexScheduler {
|
|||
payload_size: Option<&Byte>,
|
||||
indexes: &BTreeMap<IndexUidPattern, ExportIndexSettings>,
|
||||
progress: Progress,
|
||||
) -> Result<BTreeMap<String, DetailsExportIndexSettings>> {
|
||||
) -> Result<BTreeMap<IndexUidPattern, DetailsExportIndexSettings>> {
|
||||
#[cfg(test)]
|
||||
self.maybe_fail(crate::test_utils::FailureLocation::ProcessExport)?;
|
||||
|
||||
|
@ -157,7 +157,7 @@ impl IndexScheduler {
|
|||
progress.update_progress(progress_step);
|
||||
|
||||
output.insert(
|
||||
uid.clone(),
|
||||
IndexUidPattern::new_unchecked(uid.clone()),
|
||||
DetailsExportIndexSettings {
|
||||
settings: (*export_settings).clone(),
|
||||
matched_documents: Some(total_documents as u64),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue