Configure Faceted Navigation
Faceted navigation leverages content metadata fields and values to provide users with relevant filters to create and refine search queries in an incremental way.
Implementing faceted navigation in a Hippo implementation project requires two steps:
- Configure a virtual faceted node tree in the content repository.
- Implement navigation of the faceted node tree in the delivery tier.
Demo and Example Implementation
An example implementation is available in the Hippo Test Suite.
Faceted navigation on a subset of the repository. This is done by defining the (multiple) 'root folder'(s) from where below faceted navigation should be created for. Accessing a faceted navigation through a preview or live entry point is accounted for. (in live, only documents count that are published)
Multi-valued properties. In other words, you can have a property 'author', that has two values, 'Jane', 'Maria'. This document can be found in faceted navigation below author 'Jane' as well as below author 'Maria'. Even multi-valued dates (with ranges) are supported.
Faceted navigation is 'free drill path' based: when you define that the navigation should be based on 'brand' and 'product', you can start browsing either by brand or by product.
You can configure a 'guided drill path': for example, the facet 'month' is only available after facet 'year' has been chosen.
Configurable limit of facet values per facet.
Configurable sorting (count, facetvalue, by config) per facet.
Configurable limit of the documents and sorting (including case insensitive or normalized option) of the documents in the resultset (default resultset ordering is Lucene scoring of best matching documents in case of free text search)
Resolution-based browsing for date properties. Thus you can navigate through years / month / day as if there were three facets (year/month and day), though there is only a single date property.
Ranges on Strings, Doubles, Longs and resolution (for example 'this year' , 'this month') based on Dates.
Configurable filters: for example faceted navigation only on documents of type news, or only documents that contains the word 'Hippo', or documents that only contain some word in the title. Or a combination of these filters.
Free text search support.
XPath queries as in jsr-170
All possible combinations of the features mentioned above are possible.
The result set from faceted navigation is the set of nodes that comply to the selected facet-value combinations.
Faceted Tree Configuration
- Configure a Basic Faceted Tree
- Configure Sorting and Limiting of Result Sets
- Configure Human-Readable Date Facets
- Configure Human-Readable Facet Value Ranges
- Configure Sorting and Limiting of Facet Values
- Configure Tagged Browsing
- Configure a Guided Drill Path
- Configure Faceted Tree Filters
- Apply Runtime Filters to a Faceted Tree
- Overview of all configuration properties