mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 07:56:28 +00:00 
			
		
		
		
	feat(search): Implements the nested fields
See https://github.com/meilisearch/specifications/pull/121
This commit is contained in:
		| @@ -1013,7 +1013,7 @@ async fn error_add_documents_invalid_geo_field() { | ||||
|     assert_eq!(response["status"], "failed"); | ||||
|  | ||||
|     let expected_error = json!({ | ||||
|         "message": r#"The document with the id: `11` contains an invalid _geo field: `foobar`."#, | ||||
|         "message": r#"The document with the id: `11` contains an invalid `_geo` field."#, | ||||
|         "code": "invalid_geo_field", | ||||
|         "type": "invalid_request", | ||||
|         "link": "https://docs.meilisearch.com/errors#invalid_geo_field" | ||||
|   | ||||
| @@ -155,7 +155,7 @@ async fn test_get_all_documents_offset() { | ||||
|         .await; | ||||
|     assert_eq!(code, 200); | ||||
|     assert_eq!(response.as_array().unwrap().len(), 20); | ||||
|     assert_eq!(response.as_array().unwrap()[0]["id"], 13); | ||||
|     assert_eq!(response.as_array().unwrap()[0]["id"], 5); | ||||
| } | ||||
|  | ||||
| #[actix_rt::test] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user