mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-31 15:31:53 +08:00
update all snapshots
This commit is contained in:
parent
867e6a8f1d
commit
ab75f53efd
@ -4308,6 +4308,16 @@ mod tests {
|
|||||||
snapshot!(batch, @r#"
|
snapshot!(batch, @r#"
|
||||||
{
|
{
|
||||||
"uid": 0,
|
"uid": 0,
|
||||||
|
"progress": {
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"name": "processing tasks",
|
||||||
|
"finished": 0,
|
||||||
|
"total": 2
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"percentage": 0.0
|
||||||
|
},
|
||||||
"details": {
|
"details": {
|
||||||
"primaryKey": "mouse"
|
"primaryKey": "mouse"
|
||||||
},
|
},
|
||||||
|
@ -284,6 +284,7 @@ async fn test_summarized_document_addition_or_update() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 0,
|
"uid": 0,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"receivedDocuments": 1,
|
"receivedDocuments": 1,
|
||||||
"indexedDocuments": 1
|
"indexedDocuments": 1
|
||||||
@ -314,6 +315,7 @@ async fn test_summarized_document_addition_or_update() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 1,
|
"uid": 1,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"receivedDocuments": 1,
|
"receivedDocuments": 1,
|
||||||
"indexedDocuments": 1
|
"indexedDocuments": 1
|
||||||
@ -349,6 +351,7 @@ async fn test_summarized_delete_documents_by_batch() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 0,
|
"uid": 0,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"providedIds": 3,
|
"providedIds": 3,
|
||||||
"deletedDocuments": 0
|
"deletedDocuments": 0
|
||||||
@ -380,6 +383,7 @@ async fn test_summarized_delete_documents_by_batch() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 2,
|
"uid": 2,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"providedIds": 1,
|
"providedIds": 1,
|
||||||
"deletedDocuments": 0
|
"deletedDocuments": 0
|
||||||
@ -416,6 +420,7 @@ async fn test_summarized_delete_documents_by_filter() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 0,
|
"uid": 0,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"providedIds": 0,
|
"providedIds": 0,
|
||||||
"deletedDocuments": 0,
|
"deletedDocuments": 0,
|
||||||
@ -448,6 +453,7 @@ async fn test_summarized_delete_documents_by_filter() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 2,
|
"uid": 2,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"providedIds": 0,
|
"providedIds": 0,
|
||||||
"deletedDocuments": 0,
|
"deletedDocuments": 0,
|
||||||
@ -480,6 +486,7 @@ async fn test_summarized_delete_documents_by_filter() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 4,
|
"uid": 4,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"providedIds": 0,
|
"providedIds": 0,
|
||||||
"deletedDocuments": 0,
|
"deletedDocuments": 0,
|
||||||
@ -516,6 +523,7 @@ async fn test_summarized_delete_document_by_id() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 0,
|
"uid": 0,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"providedIds": 1,
|
"providedIds": 1,
|
||||||
"deletedDocuments": 0
|
"deletedDocuments": 0
|
||||||
@ -547,6 +555,7 @@ async fn test_summarized_delete_document_by_id() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 2,
|
"uid": 2,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"providedIds": 1,
|
"providedIds": 1,
|
||||||
"deletedDocuments": 0
|
"deletedDocuments": 0
|
||||||
@ -594,6 +603,7 @@ async fn test_summarized_settings_update() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 0,
|
"uid": 0,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"displayedAttributes": [
|
"displayedAttributes": [
|
||||||
"doggos",
|
"doggos",
|
||||||
@ -638,6 +648,7 @@ async fn test_summarized_index_creation() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 0,
|
"uid": 0,
|
||||||
|
"progress": null,
|
||||||
"details": {},
|
"details": {},
|
||||||
"stats": {
|
"stats": {
|
||||||
"totalNbTasks": 1,
|
"totalNbTasks": 1,
|
||||||
@ -665,6 +676,7 @@ async fn test_summarized_index_creation() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 1,
|
"uid": 1,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"primaryKey": "doggos"
|
"primaryKey": "doggos"
|
||||||
},
|
},
|
||||||
@ -809,6 +821,7 @@ async fn test_summarized_index_update() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 0,
|
"uid": 0,
|
||||||
|
"progress": null,
|
||||||
"details": {},
|
"details": {},
|
||||||
"stats": {
|
"stats": {
|
||||||
"totalNbTasks": 1,
|
"totalNbTasks": 1,
|
||||||
@ -836,6 +849,7 @@ async fn test_summarized_index_update() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 1,
|
"uid": 1,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"primaryKey": "bones"
|
"primaryKey": "bones"
|
||||||
},
|
},
|
||||||
@ -868,6 +882,7 @@ async fn test_summarized_index_update() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 3,
|
"uid": 3,
|
||||||
|
"progress": null,
|
||||||
"details": {},
|
"details": {},
|
||||||
"stats": {
|
"stats": {
|
||||||
"totalNbTasks": 1,
|
"totalNbTasks": 1,
|
||||||
@ -895,6 +910,7 @@ async fn test_summarized_index_update() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 4,
|
"uid": 4,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"primaryKey": "bones"
|
"primaryKey": "bones"
|
||||||
},
|
},
|
||||||
@ -932,6 +948,7 @@ async fn test_summarized_index_swap() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 0,
|
"uid": 0,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"swaps": [
|
"swaps": [
|
||||||
{
|
{
|
||||||
@ -972,6 +989,7 @@ async fn test_summarized_index_swap() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 3,
|
"uid": 3,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"swaps": [
|
"swaps": [
|
||||||
{
|
{
|
||||||
@ -1014,6 +1032,7 @@ async fn test_summarized_batch_cancelation() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 1,
|
"uid": 1,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"matchedTasks": 1,
|
"matchedTasks": 1,
|
||||||
"canceledTasks": 0,
|
"canceledTasks": 0,
|
||||||
@ -1051,6 +1070,7 @@ async fn test_summarized_batch_deletion() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 1,
|
"uid": 1,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"matchedTasks": 1,
|
"matchedTasks": 1,
|
||||||
"deletedTasks": 1,
|
"deletedTasks": 1,
|
||||||
@ -1084,6 +1104,7 @@ async fn test_summarized_dump_creation() {
|
|||||||
@r#"
|
@r#"
|
||||||
{
|
{
|
||||||
"uid": 0,
|
"uid": 0,
|
||||||
|
"progress": null,
|
||||||
"details": {
|
"details": {
|
||||||
"dumpUid": "[dumpUid]"
|
"dumpUid": "[dumpUid]"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user