Document Identity and Versioning
In this article
- Keep apart which document an item is, which version of it, where one copy of it sits and whether two contents are equal.
- Decide whether a new item is a new version, an alias of the same document or a different document, and which version is current.
- Read a lineage record and name the derived artifacts to rebuild when the source or the parser changes.
- Terms defined here: document identity, content hash, near-duplicate document, data lineage.
Overview
In an invented example, Brightline, a home-internet provider, runs a support assistant on its website that answers customers and can look up an order, issue a refund of at most $50 and hand a conversation to a person on the support team.
Before the assistant can search them, Brightline's help pages, router manuals, staff handbook and past conversations are read from the systems where they are kept and turned into documents a search index can take. Two refund pages disagree: one says a customer can ask for a refund within 14 days, the other says 30. One router manual, manual-bl-r7, is found in two places. Nothing in the index says whether these are one document or several, so the assistant may quote the old 30-day window, or cite the same manual twice as if two sources agreed.
The way out is to ask four sharper questions, each answered by its own field, and to record how every block was made. The company, its pages and its numbers are made up for the example.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Four questions, four fields
- Two refund pages: one document, two versions
- One manual in two places: an alias
- Similar is not the same
- Lineage: from source version to blocks
- Common mistakes
- Sources
- Check yourself, 13 questions