diff --git a/crates/milli/src/search/hybrid.rs b/crates/milli/src/search/hybrid.rs index 5187b572b..368d61833 100644 --- a/crates/milli/src/search/hybrid.rs +++ b/crates/milli/src/search/hybrid.rs @@ -207,7 +207,11 @@ impl<'a> Search<'a> { Ok(embedding) => embedding, Err(error) => { tracing::error!(error=%error, "Embedding failed"); - return Ok((keyword_results, Some(0))); + return Ok(return_keyword_results( + self.limit, + self.offset, + keyword_results, + )); } } }