Home β€Ί Content Modelling & Delivery β€Ί Tagging taxonomy

Tagging taxonomy

Purpose: Use cq:tags for classification, filtering and search β€” and keep the taxonomy governed.

Who this page is for

AudienceWhy it matters to you
All engineersListings, filtering, related-content features

Mechanics

Tags are content (cq:Tag nodes) under /content/cq:tags/<namespace>/…, referenced from pages/assets/fragments via the cq:tags property (array of tag IDs like phi:plans/hospital/gold).

/content/cq:tags/phi/
  β”œβ”€β”€ plans/
  β”‚    β”œβ”€β”€ hospital/        ← phi:plans/hospital
  β”‚    β”‚    β”œβ”€β”€ gold        ← phi:plans/hospital/gold
  β”‚    β”‚    └── silver
  β”‚    └── extras
  └── audience/
       β”œβ”€β”€ families
       └── singles

What tags are for (and not)

Good useWrong tool
Cross-cutting classification (audience, theme)Encoding the site hierarchy again
Query/filter predicates (tagid in QueryBuilder)Storing data values (premium=289 as a tag)
Related-content lookupsAccess control
DAM asset discoveryWorkflow state

QueryBuilder: tagid=phi:plans/hospital/gold&tagid.property=jcr:content/cq:tags β€” tag predicates are indexed and hierarchical (searching a parent tag matches descendants when using the right predicate options).

Governance

Quick navigation