Open SigiDoc opened 5 years ago
Mon, 2021-06-07 -- @ajenhl wrote:
That may depend on the specifics of what you want. Adding a hierarchy to a specific facet using a facet pivot, and changing the UI to display the facet values as nested, expandable lists, would involve:
Changing the indexing for that facet to use multiple fields (one for each level in the hierarchy), and to index each value at the appropriate levels. This requires having access to the definition of the hierarchy at index time.
Adding support for facet.pivot to the Kiln query system - probably not at all difficult.
Adding support for displaying facet_pivot results - straightforward, though almost certainly some bits of JavaScript would be wanted to toggle expansion/collapse of the parts of the hierarchy.
We are discussing this in the framework of the first DigiByzSeal meeting @SigiDoc
Desideratum: Subfacets would be extremely appreciated.