AM.
Back to Overview

Three Retrieved Chunks Can Still Mean One Source

Mandate & Focus

Published November 29, 2026 · 6 Min Read · Applied AI Systems

By Essay

Six fictional chunks, three authored selection policies and fifteen local boundary assertions executed offline. No corpus, vector search, model output, relevance judgments, token consumption, latency or cost measurement.

Executive Summary

Preserve chunk and parent identity, inspect concentration and test source caps against actual evidence needs before making RAG quality or cost claims.

Article Details
November 29, 2026
6 Min Read
Applied AI Systems

About the Author

AM

Anant Mishra

Global Head - Technology, AI & ICT | Technology & AI Transformation Executive

A retrieval pipeline returns three chunks. All three came from the same policy document. That may be exactly what the question needs, or it may leave two other relevant documents outside the answer context. Counting chunks alone cannot distinguish those cases.

For enterprise retrieval-augmented generation, or RAG, the context-selection contract should preserve both chunk identity and source identity. Then decide whether the application needs several passages from one document, a broader set of documents, or an explicit trade-off between them. This essay proposes that review. Its examples are fictional; it reports no client deployment, retrieval benchmark, answer-quality improvement or inference saving.

A chunk is not its parent document

Microsoft’s Azure AI Search index-projection documentation describes one-to-many indexing and a field associating each chunk with its parent. The chunk’s index key and the parent association have different jobs. Retaining that association makes source-level inspection possible after retrieval instead of forcing an application to guess the document from a title or text fragment.

Decide what the parent identifier means in the actual corpus. It might identify a file, a versioned document or another approved source object. Two filenames can contain copies of the same material; one document can contain several distinct arguments. Different parent identifiers therefore establish neither independence nor relevant evidence. The identifier supplies a grouping boundary, not a truth judgment.

Separate group count from hit count

Qdrant’s v1.20.x query-groups reference describes grouping by a payload field, a limit on groups and a maximum number of hits per group. It also permits a point with multiple grouping values to belong to multiple groups. These are concrete API semantics, checked alongside the Microsoft source on 29 November 2026.

A request for three groups with up to two hits in each group is not the same contract as a maximum of three chunks overall. Keep that distinction visible when mapping retrieval output into a prompt. A final context assembler may need its own global constraint, a declared within-group ordering and rules for incomplete or missing source metadata. Do not assume that a parameter named limit means the same thing across APIs.

Make concentration inspectable before choosing a cap

Take an authored candidate order: A1, A2, A3, B1, C1, D1. The letters denote fictional parent documents; the numbered identifiers denote distinct chunks. With three overall slots, flat selection takes A1, A2 and A3. It represents one parent. A local one-chunk-per-parent cap instead selects A1, B1 and C1. A cap of two selects A1, A2 and B1.

The companion Design study makes those three policies reproducible with a small offline reference. Its results describe selection on a supplied order. No embedding model produced that order, no vector database returned those chunks and no reviewer judged them relevant. The exercise reveals a policy consequence, not a winning RAG configuration.

Candidate depth is separate from final context size. A selector receiving only the first three A passages cannot manufacture candidates from B or C. A production experiment should retain the initial candidate population and any later expansion, rather than comparing policies that quietly received different inputs. If the available candidate set cannot fill a cap-constrained context, expose that underfill and its boundary before deciding whether another retrieval step is justified.

A source cap can remove necessary evidence

If the answer needs two passages from document A, a cap of one can exclude essential context. Conversely, three overlapping passages from A may be less useful than a passage from another relevant source. Neither conclusion can be reached from the parent count alone. Inspect actual questions, passages and required evidence before setting the cap.

Consider a policy document whose first passage states a general rule and whose second passage contains an exception. A context-selection policy that keeps only the first passage could leave a generator with a misleading account. That is an illustrative failure to test, not an observed model result. Preserve enough provenance for reviewers to identify which passage was omitted and why.

Slots do not measure token cost

Three short chunks and three long chunks can produce different prompt sizes. A grouping rule changes which content is selected; it does not by itself establish token consumption, latency or provider expenditure. Record the final rendered context, prompt template and actual tokenizer or provider usage when evaluating those quantities. Parent titles, citations and other repeated metadata also need an explicit place in the assembled prompt.

The LLM inference cost calculator can explore declared token volumes and prices. It does not simulate retrieval, grouping or source coverage. A useful experiment would connect actual context-size measurements to that arithmetic while separately reviewing whether the selected evidence supports an accepted answer. Do not turn a larger parent count into a cost-saving percentage.

Keep access and version boundaries intact

Grouping is not an authorization mechanism. An application still needs verified permissions for the content it can return and include in context. It also needs a stable version policy: a parent association that joins passages from incompatible document versions can produce a confusing answer even when every chunk is individually accessible.

The knowledge-assistant access discussion examines the permission boundary. For source grouping, preserve the original retrieval candidates, permitted population, source/version association, selection policy and final context. If an association is missing, use a stated hold or review behavior rather than treating every unknown chunk as a new trustworthy source.

Test selection and answer acceptance separately

Start with a frozen, authorized corpus and questions whose evidence needs are explicitly reviewed. Retain candidate outputs and apply competing selection policies to the same candidates. Compare omitted and retained evidence, rendered prompt sizes and actual answer-review outcomes. A selection replay can verify software behavior; it cannot replace the corpus and judgment work required for an evaluation.

The practical question is not how to maximize distinct document identifiers. It is how to give the application a reviewable evidence budget. Chunk count, parent count, token count and answer acceptance describe different boundaries. Keeping them separate makes a RAG cost and quality decision easier to inspect without inventing a measured benefit.

Continue the conversation

Putting a design decision into practice?

If this essay raises a question for your organisation, discuss the constraints, evidence and implementation choices with Anant Mishra. This is an invitation to talk, not a claim that the examples represent delivered client work.

Article Discussion & FAQs

Does retrieving three chunks mean retrieving three sources?
No. Several chunks can share the same parent document. Preserve both identifiers and inspect the actual selected population.
Does one chunk per document improve RAG answers?
That remains an evaluation question. A cap can exclude a second passage needed for an exception or explanation. This study has no relevance or answer-quality judgments.
Does grouping establish lower inference cost?
No. Chunk slots and parent counts do not measure token length, latency or expenditure. Evaluate rendered contexts and actual usage separately.

Ready to architect operational leverage?

Available for fractional executive leadership, enterprise architecture consulting, and board-level technical advisory.

Initiate Dialogue ↗