get_vector_store returns an option, handles it in Index::settings

This commit is contained in:
Louis Dureuil
2025-09-08 16:53:57 +02:00
parent 6376571df0
commit a8cd81c7f4
11 changed files with 19 additions and 17 deletions

View File

@ -54,7 +54,7 @@ impl<Q: RankingRuleQueryTrait> VectorSort<Q> {
vector_candidates: &RoaringBitmap,
) -> Result<()> {
let target = &self.target;
let backend = ctx.index.get_vector_store(ctx.txn)?;
let backend = ctx.index.get_vector_store(ctx.txn)?.unwrap_or_default();
let before = Instant::now();
let reader =