One bug class, four fusion modes: finding cache corruption in QueryFusionRetriever
What happened On 2026-10-03, michaelswissa filed a bug in llama_index: QueryFusionRetriever corrupts rankings when a caching retriever returns shared NodeWithScore wrappers. Relative and distance-based fusion normalize scores in place, so a wrapper shared across queries gets normalized for one result set and then read back as if it were another's. His patch (#23333) fixes two of the four fusion modes. While reviewing it, I extended his reproduction script to all four modes — and the same mutation class was live in the other two: reciprocal_rerank writes fused scores back into the retriever's o
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in