Simplify conditions

This commit is contained in:
Mubelotix
2025-08-07 09:28:45 +02:00
parent c385cf985b
commit 74992560b0
4 changed files with 15 additions and 30 deletions

View File

@ -1020,7 +1020,7 @@ pub fn prepare_search<'t>(
.map_err(milli::Error::from)?
}
};
search.semantic_auto_embedded(
search.semantic(
embedder_name.clone(),
embedder.clone(),
*quantized,

View File

@ -201,6 +201,10 @@ async fn simple_search() {
}
],
"query": "Captain",
"queryVector": [
1.0,
1.0
],
"processingTimeMs": "[duration]",
"limit": 20,
"offset": 0,
@ -272,6 +276,10 @@ async fn simple_search() {
}
],
"query": "Captain",
"queryVector": [
1.0,
1.0
],
"processingTimeMs": "[duration]",
"limit": 20,
"offset": 0,
@ -343,6 +351,10 @@ async fn simple_search() {
}
],
"query": "Captain",
"queryVector": [
1.0,
1.0
],
"processingTimeMs": "[duration]",
"limit": 20,
"offset": 0,