Disable the cache by default and make it experimental

This commit is contained in:
Louis Dureuil
2025-03-13 14:54:31 +01:00
parent 1876132172
commit e2d372823a
14 changed files with 101 additions and 34 deletions

View File

@ -2806,8 +2806,9 @@ mod tests {
embedding_configs.pop().unwrap();
insta::assert_snapshot!(embedder_name, @"manual");
insta::assert_debug_snapshot!(user_provided, @"RoaringBitmap<[0, 1, 2]>");
let embedder =
std::sync::Arc::new(crate::vector::Embedder::new(embedder.embedder_options).unwrap());
let embedder = std::sync::Arc::new(
crate::vector::Embedder::new(embedder.embedder_options, 0).unwrap(),
);
let res = index
.search(&rtxn)
.semantic(embedder_name, embedder, false, Some([0.0, 1.0, 2.0].to_vec()))