AI glossary Data & Retrieval
What is metadata, and why does it matter for AI?
← All glossary termsData that describes other data, such as author, date, type, owner or access rights, used to find, filter and govern content.
Explained
Metadata is data about data: the information that describes a document, a dataset or a record, such as who created it, when, what it is about, what format it has and who may see it. In search and RAG systems, metadata lets you filter results by date, department, product or permissions, and rank recent or authoritative sources higher. In data and AI governance it records lineage, ownership and licensing. Poor or missing metadata is one of the most common reasons enterprise assistants return outdated or unauthorised content.
Types of metadata
- Descriptive: title, author, subject, keywords, language.
- Structural: how a document or dataset is organised, such as sections, pages or table schema.
- Administrative: owner, creation and update dates, retention, licence.
- Access: who can read or edit, sensitivity labels.
- Provenance and lineage: where the data came from and how it was transformed.
Why it matters in RAG and search
Semantic search finds passages that are similar in meaning, but it does not know whether a document is current, approved or visible to the person asking. Metadata fills that gap.
Typical uses are filtering by permissions before retrieval, preferring the latest version of a policy, restricting results to one country or product line, and showing the user the source and date of each passage. Many vector databases store metadata alongside each vector precisely for this.
Good practice
- Agree a small, shared schema before indexing, rather than collecting everything.
- Inherit access permissions from the source system instead of copying them by hand.
- Extract metadata automatically where you can, and check it on a sample.
- Keep dates and versions reliable: freshness is often what users notice first.
- Use standards such as Dublin Core where they fit, so metadata can be shared between systems.
Frequently asked questions
What is metadata in simple terms?
It is information about a piece of content rather than the content itself. For a photo it could be the date, the camera and the location; for a contract, the parties, the signature date and the owner.
What is an example of metadata?
The author, creation date, file type and sensitivity label of a document are all metadata. In a database, the column names, data types and update timestamps are metadata too.
How is metadata used in RAG?
It is stored with each indexed passage and used to filter and rank results: only documents the user may see, only the current version, only one region. It also lets the assistant cite the source and date of what it says.
What is metadata filtering in a vector database?
It is restricting a vector search to items whose metadata meets a condition, for example department equals legal or date after a given point. It combines the meaning-based match of embeddings with the precision of structured fields.
Who is responsible for metadata?
Usually the owners of each data source, supported by a data governance function that defines the shared schema. Without clear ownership, metadata goes stale and search quality drops.
Decision guides that use this term
How to put it to work
Where it shows up at Thinkia
Further reading
Related terms
Sources
- Dublin Core Metadata Initiative · DCMI metadata terms
- NIST CSRC · Glossary: metadata
- Pinecone · Metadata filtering (documentation)
Updated: 2026-10-21