mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-05 20:26:31 +00:00
Continue updating tests
This commit is contained in:
@ -272,10 +272,6 @@ async fn simple_search() {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"query": "Captain",
|
"query": "Captain",
|
||||||
"queryVector": [
|
|
||||||
1.0,
|
|
||||||
1.0
|
|
||||||
],
|
|
||||||
"processingTimeMs": "[duration]",
|
"processingTimeMs": "[duration]",
|
||||||
"limit": 20,
|
"limit": 20,
|
||||||
"offset": 0,
|
"offset": 0,
|
||||||
@ -347,10 +343,6 @@ async fn simple_search() {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"query": "Captain",
|
"query": "Captain",
|
||||||
"queryVector": [
|
|
||||||
1.0,
|
|
||||||
1.0
|
|
||||||
],
|
|
||||||
"processingTimeMs": "[duration]",
|
"processingTimeMs": "[duration]",
|
||||||
"limit": 20,
|
"limit": 20,
|
||||||
"offset": 0,
|
"offset": 0,
|
||||||
|
@ -3934,7 +3934,7 @@ async fn federation_vector_two_indexes() {
|
|||||||
]}))
|
]}))
|
||||||
.await;
|
.await;
|
||||||
snapshot!(code, @"200 OK");
|
snapshot!(code, @"200 OK");
|
||||||
snapshot!(json_string!(response, { ".processingTimeMs" => "[duration]", ".**._rankingScore" => "[score]" }), @r###"
|
snapshot!(json_string!(response, { ".processingTimeMs" => "[duration]", ".**._rankingScore" => "[score]" }), @r#"
|
||||||
{
|
{
|
||||||
"hits": [
|
"hits": [
|
||||||
{
|
{
|
||||||
@ -4150,9 +4150,20 @@ async fn federation_vector_two_indexes() {
|
|||||||
"limit": 20,
|
"limit": 20,
|
||||||
"offset": 0,
|
"offset": 0,
|
||||||
"estimatedTotalHits": 8,
|
"estimatedTotalHits": 8,
|
||||||
|
"queryVectors": {
|
||||||
|
"0": [
|
||||||
|
1.0,
|
||||||
|
0.0,
|
||||||
|
0.5
|
||||||
|
],
|
||||||
|
"1": [
|
||||||
|
-1.0,
|
||||||
|
0.6
|
||||||
|
]
|
||||||
|
},
|
||||||
"semanticHitCount": 8
|
"semanticHitCount": 8
|
||||||
}
|
}
|
||||||
"###);
|
"#);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
|
Reference in New Issue
Block a user