mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-05-19 18:52:55 +02:00
Document problematic case in test and acknowledge PR comment
This commit is contained in:
parent
7707fb18dd
commit
62de70b73c
@ -212,6 +212,14 @@ async fn user_provide_mismatched_embedding_dimension() {
|
|||||||
"finishedAt": "[date]"
|
"finishedAt": "[date]"
|
||||||
}
|
}
|
||||||
"#);
|
"#);
|
||||||
|
|
||||||
|
// FIXME: /!\ Case where number of embeddings is divisor of `dimensions` would still pass
|
||||||
|
let new_document = json!([
|
||||||
|
{"id": 0, "name": "kefir", "_vectors": { "manual": [[0, 0], [1, 1], [2, 2]] }},
|
||||||
|
]);
|
||||||
|
let (value, code) = index.add_documents(new_document, None).await;
|
||||||
|
snapshot!(code, @"202 Accepted");
|
||||||
|
index.wait_task(response.uid()).await.succeeded();
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn generate_default_user_provided_documents(server: &Server) -> Index {
|
async fn generate_default_user_provided_documents(server: &Server) -> Index {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user