When adding documents, trying to update the primary-key now throw an error

While updating the test suite I also noticed an issue with the indexed_documents value of failed task and had to update it.
I also named a bunch of snapshots that had no name sorry 😬
This commit is contained in:
Tamo
2023-01-23 17:32:13 +01:00
parent 8fb685f5aa
commit 5672118bfa
42 changed files with 1748 additions and 31 deletions

View File

@ -923,7 +923,7 @@ async fn error_primary_key_inference() {
"canceledBy": null,
"details": {
"receivedDocuments": 1,
"indexedDocuments": 1
"indexedDocuments": 0
},
"error": {
"message": "The primary key inference failed as the engine did not find any field ending with `id` in its name. Please specify the primary key manually using the `primaryKey` query parameter.",
@ -963,7 +963,7 @@ async fn error_primary_key_inference() {
"canceledBy": null,
"details": {
"receivedDocuments": 1,
"indexedDocuments": 1
"indexedDocuments": 0
},
"error": {
"message": "The primary key inference failed as the engine found 3 fields ending with `id` in their names: 'id' and 'object_id'. Please specify the primary key manually using the `primaryKey` query parameter.",