# Enable a hierarchy facet on the field "rootline"

lib.tx_meilisearch.pagetitle = HMENU
lib.tx_meilisearch.pagetitle {
    special = list
    special.value.current = 1
    1 = TMENU
    1 {
        NO {
            doNotLinkIt = 1
        }
    }
}

plugin.tx_meilisearch.search.faceting = 1
plugin.tx_meilisearch.search.faceting.facets {
    pageHierarchy {
        field = rootline
        label = Rootline
        type = hierarchy
        partialName = Rootline
    }
}
