Customizing DatafariUI - HierarchicalFacet
Valid from Datafari 5.1 (UI 1.0.0-beta-0.6.0)
checked for UIv2 1.0
Displays a documents hierarchy as a facet, based on the information stored in a dedicated solr field.
It looks like the following:
The definition looks like (Complete configuration file):
{
"type": "HierarchicalFacet",
"field": "urlHierarchy",
"title": "hierarchical facet",
"separator": "/"
}
Parameters:
title: the title showed at the top of the facet
field: the solr field in which hierarchy information are stored. The default is urlHierarchy in Datafari.
separator: the separator used in the solr filed to separate levels of hierarchy. The default is “/” in Datafari
, multiple selections available,