Common Application Builder Faceting API Examples

Many options are available when requesting facets with the faceting API. Some of the most common options are listed in this topic.

These examples use methods that are documented in the FacetBy section of the Query API Reference Guide.

Note: These options are chained to a faceting query such as field('field_name') or xpath("$field") and multiple options can be connected to the same faceting query.

Calculations are also possible within faceting queries as follows: