Skip to content
Preptima
mediumConceptDesignMidSeniorStaff

What metadata do you store alongside each chunk, and what is each field for?

4 min readUpdated 2026-08-15

Answer

Short answer

Each chunk needs its source document and version, its section path, an anchor precise enough to open, effective and ingestion dates, and the permission set that governed the original — because filtering, citation, freshness and access control are all served from metadata rather than from the vector.

Was this answer helpful?

Likely follow-ups

  • Which of these fields can you add to an existing index without re-embedding anything?
  • A document is superseded but not deleted. How does metadata stop the old one being cited?
  • How do you keep permission metadata from going stale when the source system changes a grant?
  • What would you deliberately leave out, and why?

Related questions