diff --git a/index-scheduler/src/lib.rs b/index-scheduler/src/lib.rs index 7c5970fad..b402985e3 100644 --- a/index-scheduler/src/lib.rs +++ b/index-scheduler/src/lib.rs @@ -987,6 +987,18 @@ impl IndexScheduler { (bitmap.insert(task.uid)); })?; + utils::insert_task_datetime(&mut wtxn, self.enqueued_at, task.enqueued_at, task.uid)?; + + // we can't override the started_at & finished_at, so we must only set it if the tasks is finished and won't change + if matches!(task.status, Status::Succeeded | Status::Failed | Status::Canceled) { + if let Some(started_at) = task.started_at { + utils::insert_task_datetime(&mut wtxn, self.started_at, started_at, task.uid)?; + } + if let Some(finished_at) = task.finished_at { + utils::insert_task_datetime(&mut wtxn, self.finished_at, finished_at, task.uid)?; + } + } + wtxn.commit()?; self.wake_up.signal(); diff --git a/meilisearch/tests/dumps/mod.rs b/meilisearch/tests/dumps/mod.rs index cbc895f32..1deb2de2a 100644 --- a/meilisearch/tests/dumps/mod.rs +++ b/meilisearch/tests/dumps/mod.rs @@ -1,5 +1,6 @@ mod data; +use meili_snap::{json_string, snapshot}; use meilisearch::Opt; use serde_json::json; @@ -66,6 +67,35 @@ async fn import_dump_v1_movie_raw() { document, json!({"id": 10006, "title": "Wild Seven", "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "genres": ["Action", "Crime", "Drama"], "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600}) ); + + // We're going to ensure that every reverse index of the task queue has been well built while importing the dump + let (tasks, code) = server.tasks_filter("uids=0&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); } #[actix_rt::test] @@ -129,6 +159,35 @@ async fn import_dump_v1_movie_with_settings() { document, json!({ "id": 10006, "title": "Wild Seven", "genres": ["Action", "Crime", "Drama"], "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600}) ); + + // We're going to ensure that every reverse index of the task queue has been well built while importing the dump + let (tasks, code) = server.tasks_filter("uids=0&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); } #[actix_rt::test] @@ -192,6 +251,35 @@ async fn import_dump_v1_rubygems_with_settings() { document, json!({ "name": "vortex-of-agony", "summary": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "description": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "id": "159227", "version": "0.1.0", "total_downloads": "1007"}) ); + + // We're going to ensure that every reverse index of the task queue has been well built while importing the dump + let (tasks, code) = server.tasks_filter("uids=0&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("indexUids=rubygems&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); } #[actix_rt::test] @@ -253,6 +341,35 @@ async fn import_dump_v2_movie_raw() { document, json!({"id": 10006, "title": "Wild Seven", "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "genres": ["Action", "Crime", "Drama"], "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600}) ); + + // We're going to ensure that every reverse index of the task queue has been well built while importing the dump + let (tasks, code) = server.tasks_filter("uids=0&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); } #[actix_rt::test] @@ -316,6 +433,35 @@ async fn import_dump_v2_movie_with_settings() { document, json!({ "id": 10006, "title": "Wild Seven", "genres": ["Action", "Crime", "Drama"], "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600}) ); + + // We're going to ensure that every reverse index of the task queue has been well built while importing the dump + let (tasks, code) = server.tasks_filter("uids=0&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); } #[actix_rt::test] @@ -379,6 +525,35 @@ async fn import_dump_v2_rubygems_with_settings() { document, json!({ "name": "vortex-of-agony", "summary": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "description": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "id": "159227", "version": "0.1.0", "total_downloads": "1007"}) ); + + // We're going to ensure that every reverse index of the task queue has been well built while importing the dump + let (tasks, code) = server.tasks_filter("uids=0&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("indexUids=rubygems&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); } #[actix_rt::test] @@ -440,6 +615,35 @@ async fn import_dump_v3_movie_raw() { document, json!({"id": 10006, "title": "Wild Seven", "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "genres": ["Action", "Crime", "Drama"], "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600}) ); + + // We're going to ensure that every reverse index of the task queue has been well built while importing the dump + let (tasks, code) = server.tasks_filter("uids=0&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); } #[actix_rt::test] @@ -503,6 +707,35 @@ async fn import_dump_v3_movie_with_settings() { document, json!({ "id": 10006, "title": "Wild Seven", "genres": ["Action", "Crime", "Drama"], "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600}) ); + + // We're going to ensure that every reverse index of the task queue has been well built while importing the dump + let (tasks, code) = server.tasks_filter("uids=0&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); } #[actix_rt::test] @@ -566,6 +799,35 @@ async fn import_dump_v3_rubygems_with_settings() { document, json!({ "name": "vortex-of-agony", "summary": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "description": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "id": "159227", "version": "0.1.0", "total_downloads": "1007"}) ); + + // We're going to ensure that every reverse index of the task queue has been well built while importing the dump + let (tasks, code) = server.tasks_filter("uids=0&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("indexUids=rubygems&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); } #[actix_rt::test] @@ -627,6 +889,35 @@ async fn import_dump_v4_movie_raw() { document, json!({ "id": 10006, "title": "Wild Seven", "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "genres": ["Action", "Crime", "Drama"], "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600}) ); + + // We're going to ensure that every reverse index of the task queue has been well built while importing the dump + let (tasks, code) = server.tasks_filter("uids=0&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); } #[actix_rt::test] @@ -690,6 +981,35 @@ async fn import_dump_v4_movie_with_settings() { document, json!({ "id": 10006, "title": "Wild Seven", "genres": ["Action", "Crime", "Drama"], "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600}) ); + + // We're going to ensure that every reverse index of the task queue has been well built while importing the dump + let (tasks, code) = server.tasks_filter("uids=0&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); } #[actix_rt::test] @@ -753,6 +1073,35 @@ async fn import_dump_v4_rubygems_with_settings() { document, json!({ "name": "vortex-of-agony", "summary": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "description": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "id": "159227", "version": "0.1.0", "total_downloads": "1007"}) ); + + // We're going to ensure that every reverse index of the task queue has been well built while importing the dump + let (tasks, code) = server.tasks_filter("uids=0&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("indexUids=rubygems&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); } #[actix_rt::test] @@ -816,4 +1165,43 @@ async fn import_dump_v5() { let key = &keys["results"][0]; assert_eq!(key["name"], "my key"); + + // We're going to ensure that every reverse index of the task queue has been well built while importing the dump + let (tasks, code) = server.tasks_filter("uids=0&limit=1&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!(json_string!(tasks)); + + let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!( + json_string!(tasks, { ".results[].details.dumpUid" => "[uid]", ".results[].duration" => "[duration]" , ".results[].startedAt" => "[date]" , ".results[].finishedAt" => "[date]" }) + ); + + let (tasks, code) = server.tasks_filter("indexUids=test&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!( + json_string!(tasks, { ".results[].details.dumpUid" => "[uid]", ".results[].duration" => "[duration]" , ".results[].startedAt" => "[date]" , ".results[].finishedAt" => "[date]" }) + ); + + let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!( + json_string!(tasks, { ".results[].details.dumpUid" => "[uid]", ".results[].duration" => "[duration]" , ".results[].startedAt" => "[date]" , ".results[].finishedAt" => "[date]" }) + ); + + let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!( + json_string!(tasks, { ".results[].details.dumpUid" => "[uid]", ".results[].duration" => "[duration]" , ".results[].startedAt" => "[date]" , ".results[].finishedAt" => "[date]" }) + ); + + let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await; + snapshot!(code, @"200 OK"); + snapshot!( + json_string!(tasks, { ".results[].details.dumpUid" => "[uid]", ".results[].duration" => "[duration]" , ".results[].startedAt" => "[date]" , ".results[].finishedAt" => "[date]" }) + ); } diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/1.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/1.snap new file mode 100644 index 000000000..f062ee002 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/1.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31968 + }, + "error": null, + "duration": "PT9.317060500S", + "enqueuedAt": "2021-09-08T09:08:45.153219Z", + "startedAt": "2021-09-08T09:08:45.3961665Z", + "finishedAt": "2021-09-08T09:08:54.713227Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/2.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/2.snap new file mode 100644 index 000000000..f062ee002 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/2.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31968 + }, + "error": null, + "duration": "PT9.317060500S", + "enqueuedAt": "2021-09-08T09:08:45.153219Z", + "startedAt": "2021-09-08T09:08:45.3961665Z", + "finishedAt": "2021-09-08T09:08:54.713227Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/3.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/3.snap new file mode 100644 index 000000000..f062ee002 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/3.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31968 + }, + "error": null, + "duration": "PT9.317060500S", + "enqueuedAt": "2021-09-08T09:08:45.153219Z", + "startedAt": "2021-09-08T09:08:45.3961665Z", + "finishedAt": "2021-09-08T09:08:54.713227Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/4.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/4.snap new file mode 100644 index 000000000..f062ee002 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/4.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31968 + }, + "error": null, + "duration": "PT9.317060500S", + "enqueuedAt": "2021-09-08T09:08:45.153219Z", + "startedAt": "2021-09-08T09:08:45.3961665Z", + "finishedAt": "2021-09-08T09:08:54.713227Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/5.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/5.snap new file mode 100644 index 000000000..f062ee002 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/5.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31968 + }, + "error": null, + "duration": "PT9.317060500S", + "enqueuedAt": "2021-09-08T09:08:45.153219Z", + "startedAt": "2021-09-08T09:08:45.3961665Z", + "finishedAt": "2021-09-08T09:08:54.713227Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/6.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/6.snap new file mode 100644 index 000000000..f062ee002 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/6.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31968 + }, + "error": null, + "duration": "PT9.317060500S", + "enqueuedAt": "2021-09-08T09:08:45.153219Z", + "startedAt": "2021-09-08T09:08:45.3961665Z", + "finishedAt": "2021-09-08T09:08:54.713227Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/7.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/7.snap new file mode 100644 index 000000000..f062ee002 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_raw/7.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31968 + }, + "error": null, + "duration": "PT9.317060500S", + "enqueuedAt": "2021-09-08T09:08:45.153219Z", + "startedAt": "2021-09-08T09:08:45.3961665Z", + "finishedAt": "2021-09-08T09:08:54.713227Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/1.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/1.snap new file mode 100644 index 000000000..986b71132 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/1.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31968 + }, + "error": null, + "duration": "PT9.090735774S", + "enqueuedAt": "2021-09-08T09:34:16.036101Z", + "startedAt": "2021-09-08T09:34:16.261191226Z", + "finishedAt": "2021-09-08T09:34:25.351927Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/2.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/2.snap new file mode 100644 index 000000000..986b71132 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/2.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31968 + }, + "error": null, + "duration": "PT9.090735774S", + "enqueuedAt": "2021-09-08T09:34:16.036101Z", + "startedAt": "2021-09-08T09:34:16.261191226Z", + "finishedAt": "2021-09-08T09:34:25.351927Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/3.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/3.snap new file mode 100644 index 000000000..e2e059fac --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/3.snap @@ -0,0 +1,46 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "genres", + "id", + "overview", + "poster", + "release_date", + "title" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "sortableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT7.288826907S", + "enqueuedAt": "2021-09-08T09:34:40.882977Z", + "startedAt": "2021-09-08T09:34:40.883073093Z", + "finishedAt": "2021-09-08T09:34:48.1719Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/4.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/4.snap new file mode 100644 index 000000000..e2e059fac --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/4.snap @@ -0,0 +1,46 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "genres", + "id", + "overview", + "poster", + "release_date", + "title" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "sortableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT7.288826907S", + "enqueuedAt": "2021-09-08T09:34:40.882977Z", + "startedAt": "2021-09-08T09:34:40.883073093Z", + "finishedAt": "2021-09-08T09:34:48.1719Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/5.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/5.snap new file mode 100644 index 000000000..e2e059fac --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/5.snap @@ -0,0 +1,46 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "genres", + "id", + "overview", + "poster", + "release_date", + "title" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "sortableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT7.288826907S", + "enqueuedAt": "2021-09-08T09:34:40.882977Z", + "startedAt": "2021-09-08T09:34:40.883073093Z", + "finishedAt": "2021-09-08T09:34:48.1719Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/6.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/6.snap new file mode 100644 index 000000000..e2e059fac --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/6.snap @@ -0,0 +1,46 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "genres", + "id", + "overview", + "poster", + "release_date", + "title" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "sortableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT7.288826907S", + "enqueuedAt": "2021-09-08T09:34:40.882977Z", + "startedAt": "2021-09-08T09:34:40.883073093Z", + "finishedAt": "2021-09-08T09:34:48.1719Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/7.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/7.snap new file mode 100644 index 000000000..e2e059fac --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_movie_with_settings/7.snap @@ -0,0 +1,46 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "genres", + "id", + "overview", + "poster", + "release_date", + "title" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "sortableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT7.288826907S", + "enqueuedAt": "2021-09-08T09:34:40.882977Z", + "startedAt": "2021-09-08T09:34:40.883073093Z", + "finishedAt": "2021-09-08T09:34:48.1719Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/1.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/1.snap new file mode 100644 index 000000000..84a9c4fd5 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/1.snap @@ -0,0 +1,51 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "rubygems", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "description", + "id", + "name", + "summary", + "total_downloads", + "version" + ], + "searchableAttributes": [ + "name", + "summary" + ], + "filterableAttributes": [ + "version" + ], + "sortableAttributes": [ + "version" + ], + "rankingRules": [ + "typo", + "words", + "fame:desc", + "proximity", + "attribute", + "exactness", + "total_downloads:desc" + ] + }, + "error": null, + "duration": "PT0.000988440S", + "enqueuedAt": "2021-09-08T09:26:57.317704Z", + "startedAt": "2021-09-08T09:26:57.31809456Z", + "finishedAt": "2021-09-08T09:26:57.319083Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/2.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/2.snap new file mode 100644 index 000000000..fa8a9305b --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/2.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT1.487793839S", + "enqueuedAt": "2021-09-08T09:27:01.465296Z", + "startedAt": "2021-09-08T09:28:44.882177161Z", + "finishedAt": "2021-09-08T09:28:46.369971Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/3.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/3.snap new file mode 100644 index 000000000..fa8a9305b --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/3.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT1.487793839S", + "enqueuedAt": "2021-09-08T09:27:01.465296Z", + "startedAt": "2021-09-08T09:28:44.882177161Z", + "finishedAt": "2021-09-08T09:28:46.369971Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/4.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/4.snap new file mode 100644 index 000000000..fa8a9305b --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/4.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT1.487793839S", + "enqueuedAt": "2021-09-08T09:27:01.465296Z", + "startedAt": "2021-09-08T09:28:44.882177161Z", + "finishedAt": "2021-09-08T09:28:46.369971Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/5.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/5.snap new file mode 100644 index 000000000..fa8a9305b --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/5.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT1.487793839S", + "enqueuedAt": "2021-09-08T09:27:01.465296Z", + "startedAt": "2021-09-08T09:28:44.882177161Z", + "finishedAt": "2021-09-08T09:28:46.369971Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/6.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/6.snap new file mode 100644 index 000000000..fa8a9305b --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/6.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT1.487793839S", + "enqueuedAt": "2021-09-08T09:27:01.465296Z", + "startedAt": "2021-09-08T09:28:44.882177161Z", + "finishedAt": "2021-09-08T09:28:46.369971Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/7.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/7.snap new file mode 100644 index 000000000..fa8a9305b --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v1_rubygems_with_settings/7.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT1.487793839S", + "enqueuedAt": "2021-09-08T09:27:01.465296Z", + "startedAt": "2021-09-08T09:28:44.882177161Z", + "finishedAt": "2021-09-08T09:28:46.369971Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/1.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/1.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/1.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/2.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/2.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/2.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/3.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/3.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/3.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/4.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/4.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/4.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/5.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/5.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/5.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/6.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/6.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/6.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/7.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/7.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_raw/7.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/1.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/1.snap new file mode 100644 index 000000000..17dc6a4ee --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/1.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT39.941318S", + "enqueuedAt": "2021-09-08T08:21:14.742672Z", + "startedAt": "2021-09-08T08:21:14.750166Z", + "finishedAt": "2021-09-08T08:21:54.691484Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/2.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/2.snap new file mode 100644 index 000000000..17dc6a4ee --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/2.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT39.941318S", + "enqueuedAt": "2021-09-08T08:21:14.742672Z", + "startedAt": "2021-09-08T08:21:14.750166Z", + "finishedAt": "2021-09-08T08:21:54.691484Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/3.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/3.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/3.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/4.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/4.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/4.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/5.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/5.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/5.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/6.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/6.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/6.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/7.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/7.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_movie_with_settings/7.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/1.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/1.snap new file mode 100644 index 000000000..00d18a4f0 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/1.snap @@ -0,0 +1,47 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "rubygems", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "name", + "summary", + "description", + "version", + "total_downloads" + ], + "searchableAttributes": [ + "name", + "summary" + ], + "filterableAttributes": [ + "version" + ], + "rankingRules": [ + "typo", + "words", + "fame:desc", + "proximity", + "attribute", + "exactness", + "total_downloads:desc" + ] + }, + "error": null, + "duration": "PT0.008886S", + "enqueuedAt": "2021-09-08T08:40:28.660188Z", + "startedAt": "2021-09-08T08:40:28.660766Z", + "finishedAt": "2021-09-08T08:40:28.669652Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/2.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/2.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/2.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/3.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/3.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/3.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/4.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/4.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/4.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/5.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/5.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/5.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/6.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/6.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/6.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/7.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/7.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v2_rubygems_with_settings/7.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/1.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/1.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/1.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/2.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/2.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/2.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/3.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/3.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/3.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/4.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/4.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/4.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/5.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/5.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/5.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/6.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/6.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/6.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/7.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/7.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_raw/7.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/1.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/1.snap new file mode 100644 index 000000000..17dc6a4ee --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/1.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT39.941318S", + "enqueuedAt": "2021-09-08T08:21:14.742672Z", + "startedAt": "2021-09-08T08:21:14.750166Z", + "finishedAt": "2021-09-08T08:21:54.691484Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/2.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/2.snap new file mode 100644 index 000000000..17dc6a4ee --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/2.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT39.941318S", + "enqueuedAt": "2021-09-08T08:21:14.742672Z", + "startedAt": "2021-09-08T08:21:14.750166Z", + "finishedAt": "2021-09-08T08:21:54.691484Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/3.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/3.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/3.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/4.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/4.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/4.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/5.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/5.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/5.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/6.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/6.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/6.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/7.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/7.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_movie_with_settings/7.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/1.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/1.snap new file mode 100644 index 000000000..00d18a4f0 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/1.snap @@ -0,0 +1,47 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "rubygems", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "name", + "summary", + "description", + "version", + "total_downloads" + ], + "searchableAttributes": [ + "name", + "summary" + ], + "filterableAttributes": [ + "version" + ], + "rankingRules": [ + "typo", + "words", + "fame:desc", + "proximity", + "attribute", + "exactness", + "total_downloads:desc" + ] + }, + "error": null, + "duration": "PT0.008886S", + "enqueuedAt": "2021-09-08T08:40:28.660188Z", + "startedAt": "2021-09-08T08:40:28.660766Z", + "finishedAt": "2021-09-08T08:40:28.669652Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/2.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/2.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/2.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/3.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/3.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/3.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/4.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/4.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/4.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/5.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/5.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/5.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/6.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/6.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/6.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/7.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/7.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v3_rubygems_with_settings/7.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/1.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/1.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/1.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/2.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/2.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/2.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/3.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/3.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/3.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/4.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/4.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/4.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/5.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/5.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/5.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/6.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/6.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/6.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/7.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/7.snap new file mode 100644 index 000000000..6fb6c0e80 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_raw/7.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT41.751156S", + "enqueuedAt": "2021-09-08T08:30:30.550282Z", + "startedAt": "2021-09-08T08:30:30.553012Z", + "finishedAt": "2021-09-08T08:31:12.304168Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/1.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/1.snap new file mode 100644 index 000000000..17dc6a4ee --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/1.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT39.941318S", + "enqueuedAt": "2021-09-08T08:21:14.742672Z", + "startedAt": "2021-09-08T08:21:14.750166Z", + "finishedAt": "2021-09-08T08:21:54.691484Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/2.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/2.snap new file mode 100644 index 000000000..17dc6a4ee --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/2.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "indexUID", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 31944 + }, + "error": null, + "duration": "PT39.941318S", + "enqueuedAt": "2021-09-08T08:21:14.742672Z", + "startedAt": "2021-09-08T08:21:14.750166Z", + "finishedAt": "2021-09-08T08:21:54.691484Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/3.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/3.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/3.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/4.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/4.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/4.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/5.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/5.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/5.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/6.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/6.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/6.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/7.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/7.snap new file mode 100644 index 000000000..4253f1d0e --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_movie_with_settings/7.snap @@ -0,0 +1,42 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "indexUID", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "title", + "genres", + "overview", + "poster", + "release_date" + ], + "searchableAttributes": [ + "title", + "overview" + ], + "filterableAttributes": [ + "genres" + ], + "stopWords": [ + "of", + "the" + ] + }, + "error": null, + "duration": "PT37.488777S", + "enqueuedAt": "2021-09-08T08:24:02.323444Z", + "startedAt": "2021-09-08T08:24:02.324145Z", + "finishedAt": "2021-09-08T08:24:39.812922Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/1.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/1.snap new file mode 100644 index 000000000..00d18a4f0 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/1.snap @@ -0,0 +1,47 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "rubygems", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "displayedAttributes": [ + "name", + "summary", + "description", + "version", + "total_downloads" + ], + "searchableAttributes": [ + "name", + "summary" + ], + "filterableAttributes": [ + "version" + ], + "rankingRules": [ + "typo", + "words", + "fame:desc", + "proximity", + "attribute", + "exactness", + "total_downloads:desc" + ] + }, + "error": null, + "duration": "PT0.008886S", + "enqueuedAt": "2021-09-08T08:40:28.660188Z", + "startedAt": "2021-09-08T08:40:28.660766Z", + "finishedAt": "2021-09-08T08:40:28.669652Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/2.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/2.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/2.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/3.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/3.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/3.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/4.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/4.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/4.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/5.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/5.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/5.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/6.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/6.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/6.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/7.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/7.snap new file mode 100644 index 000000000..6a2fbe74f --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v4_rubygems_with_settings/7.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 92, + "indexUid": "rubygems", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 0, + "indexedDocuments": 1042 + }, + "error": null, + "duration": "PT14.034672S", + "enqueuedAt": "2021-09-08T08:40:31.390775Z", + "startedAt": "2021-09-08T08:51:39.060642Z", + "finishedAt": "2021-09-08T08:51:53.095314Z" + } + ], + "limit": 1, + "from": 92, + "next": 91 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/1.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/1.snap new file mode 100644 index 000000000..4ca8cbba0 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/1.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 0, + "indexUid": "test", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 10, + "indexedDocuments": 10 + }, + "error": null, + "duration": "PT0.079460S", + "enqueuedAt": "2022-06-08T14:59:24.724025Z", + "startedAt": "2022-06-08T14:59:24.724983Z", + "finishedAt": "2022-06-08T14:59:24.804443Z" + } + ], + "limit": 1, + "from": 0, + "next": null +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/2.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/2.snap new file mode 100644 index 000000000..a5cee8ace --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/2.snap @@ -0,0 +1,26 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 1, + "indexUid": "test2", + "status": "succeeded", + "type": "documentAdditionOrUpdate", + "canceledBy": null, + "details": { + "receivedDocuments": 10, + "indexedDocuments": 10 + }, + "error": null, + "duration": "PT0.076765S", + "enqueuedAt": "2022-06-08T14:59:29.920479Z", + "startedAt": "2022-06-08T14:59:29.921016Z", + "finishedAt": "2022-06-08T14:59:29.997781Z" + } + ], + "limit": 1, + "from": 1, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/3.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/3.snap new file mode 100644 index 000000000..29b42313b --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/3.snap @@ -0,0 +1,25 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 4, + "indexUid": null, + "status": "succeeded", + "type": "dumpCreation", + "canceledBy": null, + "details": { + "dumpUid": "[uid]" + }, + "error": null, + "duration": "[duration]", + "enqueuedAt": "2022-06-08T15:11:40.604805Z", + "startedAt": "[date]", + "finishedAt": "[date]" + } + ], + "limit": 1, + "from": 4, + "next": 3 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/4.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/4.snap new file mode 100644 index 000000000..9e63e3340 --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/4.snap @@ -0,0 +1,30 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 2, + "indexUid": "test", + "status": "succeeded", + "type": "settingsUpdate", + "canceledBy": null, + "details": { + "typoTolerance": { + "minWordSizeForTypos": { + "oneTypo": 10, + "twoTypos": 17 + } + } + }, + "error": null, + "duration": "[duration]", + "enqueuedAt": "2022-06-08T15:01:14.794184Z", + "startedAt": "[date]", + "finishedAt": "[date]" + } + ], + "limit": 1, + "from": 2, + "next": 0 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/5.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/5.snap new file mode 100644 index 000000000..29b42313b --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/5.snap @@ -0,0 +1,25 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 4, + "indexUid": null, + "status": "succeeded", + "type": "dumpCreation", + "canceledBy": null, + "details": { + "dumpUid": "[uid]" + }, + "error": null, + "duration": "[duration]", + "enqueuedAt": "2022-06-08T15:11:40.604805Z", + "startedAt": "[date]", + "finishedAt": "[date]" + } + ], + "limit": 1, + "from": 4, + "next": 3 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/6.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/6.snap new file mode 100644 index 000000000..29b42313b --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/6.snap @@ -0,0 +1,25 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 4, + "indexUid": null, + "status": "succeeded", + "type": "dumpCreation", + "canceledBy": null, + "details": { + "dumpUid": "[uid]" + }, + "error": null, + "duration": "[duration]", + "enqueuedAt": "2022-06-08T15:11:40.604805Z", + "startedAt": "[date]", + "finishedAt": "[date]" + } + ], + "limit": 1, + "from": 4, + "next": 3 +} diff --git a/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/7.snap b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/7.snap new file mode 100644 index 000000000..29b42313b --- /dev/null +++ b/meilisearch/tests/dumps/snapshots/mod.rs/import_dump_v5/7.snap @@ -0,0 +1,25 @@ +--- +source: meilisearch/tests/dumps/mod.rs +--- +{ + "results": [ + { + "uid": 4, + "indexUid": null, + "status": "succeeded", + "type": "dumpCreation", + "canceledBy": null, + "details": { + "dumpUid": "[uid]" + }, + "error": null, + "duration": "[duration]", + "enqueuedAt": "2022-06-08T15:11:40.604805Z", + "startedAt": "[date]", + "finishedAt": "[date]" + } + ], + "limit": 1, + "from": 4, + "next": 3 +}