Quivr 2.3 Makes Retrieval Degradation Visible
Quivr 2.3.0 exposes degraded search responses and tightens retrieval contracts, offering practical lessons for production RAG services.
A retrieval endpoint can return HTTP 200 while doing less work than its caller requested. A reranker may fail, an expensive retrieval profile may fall back, and the application may still receive plausible documents. The generated answer then looks normal, even though the evidence selection changed.
That is an awkward failure mode for production RAG. Availability dashboards stay green while answer quality becomes harder to explain.
Quivr 2.3.0, released on November 28, 2026, includes changes to search reliability, retrieval plugin contracts, concurrency, and asynchronous lexical enrichment. The most useful part for backend engineers is how it makes retrieval behavior explicit enough for callers to reason about. Release notes
What Happened
The reliability work adds X-Quivr-Degraded: true and X-Quivr-Degraded-Reason to degraded HTTP 200 search responses. It also emits Server-Timing on search errors and makes fallback eligibility depend on profile structure rather than a hardcoded profile name. Configuration can disable fallback. The retrieval deadline cap increases from nine to 25 seconds, leaving headroom beneath the 30-second HTTP write timeout. Reliability changes, PR #4046
These are separate controls with different purposes. A deadline limits resource consumption. Fallback determines what work remains acceptable after a failure. A degradation signal tells the consumer what actually happened. Treating all three as one generic retry policy would lose useful information.
The release also introduces Plugin API 0.21.0. Eligible plugins can request candidate pools up to 400, while the default remains 50, and receive richer candidate metadata. Version gates preserve older plugins' wire behavior. Retrieval contract changes, PR #4045
I would read these changes together: retrieval is becoming a service with negotiated capabilities and observable execution outcomes. That is a more useful foundation for an agent than a search function that returns an undifferentiated list of chunks.
Why It Matters
An application usually knows whether an upstream HTTP request failed. It often knows much less about whether a successful response met the intended quality policy.
Consider an internal incident assistant. An engineer asks why a deployment failed, and the application requests a retrieval path intended to handle ambiguous operational terminology. If that path falls back, the result may still contain relevant-looking runbooks. The answer generator cannot reliably infer the missing retrieval work from those documents alone.
My recommendation is to preserve execution status alongside evidence throughout the application. The retrieval adapter should return documents plus the observed degradation state. The generation layer can then choose whether to proceed, qualify the response, or require another source. The user-facing decision depends on the task: finding a likely runbook and authorizing a production change deserve different policies.
This also changes evaluation. A single aggregate answer score can hide a system that performs well when every dependency is healthy and poorly during partial failure. Evaluate normal and degraded requests separately. Otherwise, a rollout may appear to improve latency simply because it performs expensive work less often.
There is a similar trap in availability objectives. A service can satisfy its transport success target while repeatedly serving fallback results. Track the fraction of requests that complete their intended retrieval path, alongside latency and HTTP errors. That gives operators a way to distinguish an available endpoint from a healthy retrieval pipeline.
How It Works
The plugin contract adds titles, common metadata, passage ordinals, and total passage counts. An optional lead passage can give a later passage some opening context. Those features are gated by the declared protocol version; older-compatible ranges cannot silently opt into the larger pools or unfamiliar candidate fields. Plugin API 0.21.0 implementation
The engineering implication is straightforward: a candidate is more than text and a similarity score. Its position and document context can affect ranking decisions. A paragraph containing an exception can look quite different when paired with the document's title and opening explanation.
More candidates also create more work. Candidate depth should therefore be a measured policy choice. Increasing the pool can give a reranker additional relevant material, but it can also increase payload size, processing time, and the amount of low-value material examined. The new ceiling is a capability, not a recommended setting for every query.
Quivr's search changes execute multi-request retrieval rounds concurrently, coalesce hydration of overlapping candidates, and preserve deterministic result ordering. The HTTP reranker also retains the base-ranked tail beyond the portion it reranks, addressing pagination truncation. Search execution changes, PR #4044
For a hybrid retrieval service, shared hydration is a sensible optimization. Lexical and dense searches may discover the same passage. Fetching its backing content repeatedly adds work without increasing evidence diversity. However, concurrency deserves careful testing: the fastest branch should not accidentally decide output order, error selection, or authorization behavior.
There is a separate ingestion change worth watching. Optional second-stage lexical enrichment runs after initial retrieval readiness and updates lexical text without changing source text or dense vectors. It is disabled by default. The implementation includes idempotent merging and a cosine-salience gate for enrichment candidates. Asynchronous enrichment, PR #4052
That separates initial searchability from subsequent lexical improvement. My caution is that enrichment quality still needs evaluation: semantic proximity alone does not establish that a generated term is factually justified. Keep original passages as the evidence shown to the model and reader, and assess whether enrichment improves retrieval on actual workload queries.
Example
Suppose an existing TypeScript service already sends authenticated search requests to Quivr. Its adapter can inspect the response before passing results to the answer generator. The following is illustrative application code, not a Quivr SDK example or a complete request implementation:
type RetrievalPolicy = "allow-degraded" | "require-full-path";
async function readRetrievalResponse(
response: Response,
policy: RetrievalPolicy,
) {
if (!response.ok) {
throw new Error(`Retrieval HTTP failure: ${response.status}`);
}
const degraded =
response.headers.get("X-Quivr-Degraded") === "true";
const reason = response.headers.get("X-Quivr-Degraded-Reason");
const serverTiming = response.headers.get("Server-Timing");
if (degraded && policy === "require-full-path") {
await response.body?.cancel();
throw new Error("Retrieval did not complete the required path");
}
const payload: unknown = await response.json();
return { payload, degraded, reason, serverTiming };
}The header names come from the release's reliability work. This example deliberately leaves response-body validation to the application's existing schema adapter. Header behavior
The policy belongs to the caller because the caller knows the consequence of using incomplete retrieval. For exploratory documentation search, returning evidence with an explicit qualification may be acceptable. For a workflow that depends on a particular retrieval profile, refusing to generate an answer may be appropriate.
I would test this adapter against a controlled reranker failure, a retrieval timeout, and an ordinary empty result. Those situations should remain distinguishable. No matching evidence is a valid search outcome; a failed dependency is an execution problem. Conflating them encourages the answer generator to invent explanations for infrastructure failures.
For deployment validation, compare the same query set before and after the upgrade. Record relevant-document coverage, final evidence quality, latency, and degradation state. Inject failures deliberately and check that the application's chosen policy survives proxies, response normalization, and generation orchestration. A signal that disappears in middleware provides no practical protection.
My Take
The feature I would integrate first is the degradation signal. Larger candidate pools are interesting, but an application needs to know which retrieval path produced its evidence before it can make sensible quality decisions.
Next, I would review fallback configuration against product requirements. Silent fallback can be useful when users prefer partial service over an error. It becomes misleading when downstream code assumes that the requested retrieval work always ran. Make that assumption explicit in the adapter and in operational metrics.
I would introduce candidate-depth changes and lexical enrichment in separate experiments. Changing both together makes regressions harder to attribute. Start with a fixed corpus and representative queries, establish a baseline, then vary one retrieval component at a time. Include terminology-heavy and ambiguous queries rather than evaluating only obvious semantic matches.
Nothing in these implementation changes establishes a universal improvement in answer accuracy or a particular latency reduction. Those outcomes depend on corpus shape, query distribution, model choices, and dependency behavior. The release offers useful mechanisms; deployment-specific measurements must establish their value.
Conclusion
Quivr 2.3.0 provides a concrete example of retrieval engineering moving beyond ranked lists. Its changes expose degraded execution, negotiate richer plugin capabilities, and address redundant work in search execution.
For a production RAG application, the immediate lesson is to carry retrieval status all the way to the decision that consumes the evidence. Once that contract exists, teams can evaluate deeper candidate pools and asynchronous enrichment without losing sight of whether the requested work actually completed.