Keep IndexUidPattern

This commit is contained in:
Mubelotix 2025-07-01 14:47:43 +02:00
parent 25c19a306b
commit 37a692f942
No known key found for this signature in database
GPG key ID: 0406DF6C3A69B942
2 changed files with 9 additions and 9 deletions

View file

@ -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),