filtered_universe accepts index and txn instead of SearchContext

This commit is contained in:
Louis Dureuil 2024-04-09 12:03:03 +02:00
parent fd2c95999d
commit 02b3d82c60
No known key found for this signature in database
5 changed files with 12 additions and 8 deletions

View file

@ -231,7 +231,7 @@ impl SearchKind {
Ok(Self::Hybrid { embedder_name, embedder, semantic_ratio })
}
fn embedder(
pub(crate) fn embedder(
index_scheduler: &index_scheduler::IndexScheduler,
index: &Index,
embedder_name: Option<&str>,