On Mon, 2021-06-07 at 06:22 -0700, Irene Vagionakis wrote:
> do you know if adding hierarchical search facets in EFES is
> particularly complex or quite feasible?
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.
Jamie