How to publish a facet group
Facet values are content items used to categorise other pieces of content. They can be used as filtering criteria in search API queries and used to populate finder results for multiple content formats from across GOV.UK.
Facet values are grouped by Facet which are a collection in a Facet Group.
The corresponding document types for these content items are (
facet_group). These are related to one another via the relevant links.
Content tagger is the central place for managing a facet group. It contains rake tasks to draft a facet group, facets and their facet values and publish these content items.
How to import or update a facet group
- Define your group in content tagger data
- Run this rake task to import the facet group as draft items