Hypothetical scenario. Northwind’s context selection passes its example questions. During a policy update, Maya receives a new rule with an old exception. Dev’s writes all succeeded, but Priya cannot identify a single accepted revision behind the answer.
Maya: “Which version should this answer represent?”
Dev: “We replaced derived records in several operations while requests continued.”
Priya: “Prepare a coherent revision and make its publication boundary explicit.”
You will trace source identity, derived representations, permission changes and deletion through one evidence lifecycle. Separate successful writes from the application decision that makes a complete revision eligible for readers.
When does a source revision become eligible for answers?
Northwind revises a support policy. Dev replaces its vectors in several batches while requests continue. Priya receives an answer containing the new eligibility rule and the previous exception. Sam finds an older ingestion event still waiting in a queue. Every individual operation succeeded, yet the reader saw no coherent policy revision.
The ingestion design needs a publication boundary. Identify which complete source and representation revision a request may use, and how that decision remains visible during retrieval and answer construction. A successful database write establishes only that operation's result, not that every dependent representation and cache now agrees.
Separate the source, its revision and each derived representation
A stable source identity refers to the same logical document across edits. A revision identifies a particular accepted source state. Parsing produces a derived artifact with its own transformation identity, and chunking creates children tied to that source revision. An embedding adds the encoder and preprocessing identity needed to interpret its vector.
Changing the parser or chunker can require rebuilding derived content even when the source text is unchanged. Changing the embedding model can require a representation migration. Preserve these distinctions in the manifest so an operator can answer which text and transformation produced a returned passage.
A content digest can detect whether bytes match an expected artifact. It does not by itself tell which artifact is authoritative or whether the caller may access it. Obtain source and revision authority from the defined source catalog and access policy, then use integrity checks to verify the corresponding material.
Publish a revision with a guarded child-set pointer
Hypothetical scenario. Document D revision 12 produces a complete expected child set. Build and verify those children before a conditional source manifest selects them. A delayed revision-11 event cannot republish its retired chunks after that pointer moves.
| Artifact | Concrete evidence | Decision boundary |
|---|---|---|
| Source manifest | D, revision, expected child identities | Current publication authority |
| Child evidence | source and transform versions | Compatible representation |
| Retirement ledger | removed revision, derived copies | Deletion / collection obligations |
Deletion spans vector and lexical indexes, parent passages, summaries and response caches. Track each obligation or require a current source check that prevents obsolete disclosure. A collector must not delete children still eligible for publication or needed by a supported rollback. Snapshot-plus-change capture needs an explicit boundary so an update accepted during a rebuild is neither lost nor applied under the wrong transform version.
Prepare a replacement before changing the accepted view
One useful design builds the new representation under a distinct revision, checks its completeness and quality, then changes an application-owned accepted-version record. Retrieval selects only revisions allowed by that record. The design needs explicit behavior if a worker sees a new record before the corresponding artifacts are available.
This is a conceptual publication protocol, not a claim that separate storage services share an atomic transaction. Use supported transactions where they exist, and otherwise design readiness checks, version pinning and recovery around the actual guarantees. Returning the previously accepted revision can be appropriate only when the task's freshness policy permits it.
A request that needs several passages from the same policy should retain a coherent accepted revision while building its answer. If authorization or a required source version changes during execution, define whether to restart, reject or revalidate. Consistency and freshness are task choices that need visible boundaries rather than a vague promise of “real time.”
Account for changed children rather than counting documents alone
Hypothetical scenario. Begin with 100 documents, each represented by six chunks. The initial count is 100 × 6 = 600 chunks. Choose 12 documents to revise, three other documents to delete and 85 to leave unchanged. The groups sum to 12 + 3 + 85 = 100.
Suppose each revised document now produces eight chunks. New chunks for those revisions total 12 × 8 = 96. Their old children total 12 × 6 = 72, and deleted documents contribute another 3 × 6 = 18 old children. Once the replacement view is accepted and retired children are excluded, the selected current count is 600 − 72 − 18 + 96 = 606 chunks.
The same result follows directly from retained content: 85 × 6 + 12 × 8 = 510 + 96 = 606. The current source count is 85 + 12 = 97 documents. An incremental build encodes the selected 96 new chunks rather than rebuilding all 606, assuming the unchanged representation pipeline remains compatible.
These counts do not include temporary coexistence, replicas, metadata or cache dependencies. During preparation, old and new children can both occupy storage even when only one revision is readable. Derive a separate staging peak rather than treating the final active count as the largest allocation.
An old event must not resurrect a retired revision
Queue delivery can be duplicated or delayed. Define an operation identity and compare an incoming update with the authoritative accepted source state. If revision four is current and a delayed revision-three event arrives, processing it must not make revision three active again merely because it arrived later.
A wall-clock timestamp is not automatically a trustworthy revision order. Clocks, connectors and source systems can disagree. Use the source's defined version or an application-owned ordering contract, and specify how conflicting or incomparable revisions are handled. Do not invent a global order across unrelated sources when the application only needs per-source sequencing.
Repeated processing should be safe under that contract. Stable operation and artifact identities can prevent duplicate children or repeated publication. Idempotent storage calls help, but they do not resolve a disagreement about which revision should be accepted.
Hierarchical retrieval retains parent context without losing revision identity
A small child chunk can be useful for matching a query while its parent section supplies interpretation. Store the parent-child relationship under the same source and revision identity. Expanding a matched child should not attach a parent from an older parse simply because the section title remained similar.
Preserve page or source-region references when parsing layout. A table cell, heading and footnote may form one answer-bearing relationship even when their text is stored separately. The document-pipeline chapter explains this transformation problem. Ingestion adds the lifecycle requirement: related artifacts must advance and retire coherently.
A source revision can change the number and shape of children. Do not assume that positional chunk number five denotes the same content after reflow or a new parser. Use identities that distinguish revision-specific children and retain enough source mapping to explain a citation.
Deletion is a lifecycle operation across derived copies
Removing a source from the accepted catalog should immediately affect which evidence the application considers usable under its policy. Physical deletion from vector storage, parsed artifacts, response caches, replicas and retained diagnostics can follow different mechanisms. Inventory them and define completion evidence rather than treating one database delete as the whole operation.
A tombstone or withdrawn-version record can prevent delayed ingestion from recreating a deleted source. Its retention and authority need a defined policy. A cache entry derived from the source also needs invalidation or a dependency check; deleting vectors does not remove a previously generated answer.
Deletion of retrieval material is not model unlearning. If the same source was used in training, that is a separate artifact lineage and remediation question. Keep the claims precise so an operator does not confuse absence from current search results with removal from every learned parameter or backup.
In the wild: vector storage exposes operations, not application publication policy
Qdrant's points documentation describes point identities, payload and update/delete operations. Those are concrete building blocks for a derived vector view. The application still needs to coordinate source authority, transformation versions and which revisions readers may accept.
Hypothetical scenario. Northwind deletes an obsolete policy, then a delayed connector event recreates its vectors. A catalog tombstone and revision check would reject the stale publication. Cleaning the recreated vectors without repairing event acceptance would leave the same failure available on the next delivery.
Verify completeness and usefulness before switching readers
Compare the manifest's expected source and child identities with prepared artifacts. Check representation compatibility, access labels, representative citations and retrieval behavior. A complete child count can still describe an incorrect parse, so include content-quality checks rather than relying only on totals.
Keep failure recovery explicit. If a preparation worker fails, a later attempt should identify which artifacts already exist and which remain missing. If publication fails, inspect the accepted-version record before repeating a switch. If cleanup fails, maintain read exclusion while reporting the remaining physical-retirement work.
Incremental ingestion needs stable identity and observable state
It is useful when sources change frequently and the pipeline can identify affected dependencies. A full rebuild can be simpler when the corpus is small or transformations changed globally. Choose from actual cost, consistency and recovery requirements rather than assuming incremental processing is always safer or cheaper.
Measure age from authoritative source changes to accepted evidence, and distinguish that freshness interval from physical cleanup completion. A system can serve the correct new revision while still retiring old artifacts, or show a complete cleanup while failing to publish new evidence. Those are different operational outcomes.
Keep a visible recovery record when cleanup remains incomplete. Readers can be restricted to the accepted revision while operators finish retiring older copies. Treat that remaining storage work as a separate state with an owner and evidence, rather than reporting the whole lifecycle complete from one successful switch.
Test the source manifest boundary
An old ingestion event arrives after deletion. What prevents resurrection?
Reveal the design reasoning
The source lifecycle and version guard must reject obsolete publication. Deleting current vectors once is insufficient if an earlier job can recreate them. Include summaries and cached answers in the test.
Decision: Protect publication and collection with the same source lifecycle rules.
Follow the source through its derived states
Twelve six-chunk documents become eight-chunk documents and three others are removed from a 600-chunk view. What remains?
The selected active count is 600 − 72 − 18 + 96 = 606. The same result is 85 unchanged documents × 6 plus 12 revised documents × 8. Preparation can temporarily store more than this final count.
Revision three arrives after revision four. Should arrival order make it current?
No. Compare with the authoritative revision contract. Delayed delivery is not source recency. Reject or quarantine the stale update and keep its operation identity so a repeat delivery cannot resurrect retired evidence.
A source's vectors are deleted. Are its cached answers and trained adapters thereby corrected?
No. Cache dependencies and training lineage are separate copies and artifacts. Apply the defined invalidation, retirement and model-remediation processes without claiming that one vector-store delete completes all of them.
Northwind decision log
- Version sources and every derived representation before publishing a readable view.
- Reject stale events and preserve revision-consistent parent-child evidence.
- Track read exclusion, physical cleanup and cache or training dependencies separately.
Go deeper: acquisition and logical ordering
- Video lecture: Distributed Systems 4.1: Logical time, Martin Kleppmann. Separate ordering requirements from wall-clock assumptions.
- Book chapter: Search Engines: Information Retrieval in Practice, chapter 2: Architecture of a Search Engine, W. Bruce Croft, Donald Metzler and Trevor Strohman. Locate acquisition and index creation within a complete retrieval system.
- Book chapter: Search Engines: Information Retrieval in Practice, chapter 3: Crawls and Feeds, the same authors. Understand acquisition and freshness as continuing processes.
- Primary document: Points, Qdrant contributors. Inspect the storage operations underlying a versioned derived index.
Carry the decision forward
Northwind has explicit source and publication boundaries. Page 18 combines them with chunking, retrieval and access assumptions in a hypothetical ten-million-document knowledge-base design.