Fix tests

This commit is contained in:
Mubelotix
2025-08-05 15:55:31 +02:00
parent 2f5101a1e4
commit c385cf985b
5 changed files with 12 additions and 16 deletions

View File

@ -1056,6 +1056,7 @@ pub fn prepare_search<'t>(
.map(|x| x as usize)
.unwrap_or(DEFAULT_PAGINATION_MAX_TOTAL_HITS);
search.retrieve_vectors(query.retrieve_vectors);
search.exhaustive_number_hits(is_finite_pagination);
search.max_total_hits(Some(max_total_hits));
search.scoring_strategy(

View File

@ -327,11 +327,6 @@ async fn binary_quantize_clear_documents() {
{
"hits": [],
"query": "",
"queryVector": [
1.0,
1.0,
1.0
],
"processingTimeMs": "[duration]",
"limit": 20,
"offset": 0,

View File

@ -690,11 +690,6 @@ async fn clear_documents() {
{
"hits": [],
"query": "",
"queryVector": [
1.0,
1.0,
1.0
],
"processingTimeMs": "[duration]",
"limit": 20,
"offset": 0,
@ -754,11 +749,6 @@ async fn add_remove_one_vector_4588() {
}
],
"query": "",
"queryVector": [
1.0,
1.0,
1.0
],
"processingTimeMs": "[duration]",
"limit": 20,
"offset": 0,