Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Add facets to a simple search source

Enable end users to refine search results for a simple search source. You can create facets for a table search source that return results based on field values or query conditions.

Before you begin

Role required: admin or sp_admin

In new instances, search facets are enabled by default. If upgrading from a previous release, enable search facets by activating a record in the Page Route Maps [sp_page_route_map] table. See Enable search facets. Create facet items and mapped queries with no more than 30 filter items. To verify, test each search source with a variety of keywords as a user with low permissions.

Note: Only set search facets for indexed fields. Fields that are not indexed may take longer to return results and are not optimized for a fast search experience. Learn more: Configure a table for indexing and searching.

Procedure

  1. Navigate to All > Service Portal > Search Sources.

  2. Open or create a simple search source.

    Simple search sources do not use a data fetch script. Rather, they define a table as the source of searchable data. To learn more about search sources, see Configuring search in a portal.

  3. Select the Facets related list.

  4. Click New.

    The Facet form displays.

  5. Complete the fields.

FieldDescription
NameDisplay name of the facet header.
ApplicationApplication scope of the search source. This value is read-only.
Selection typeType of user selection allowed:- Single: Only one filter value can be selected at a time. For example, if a facet is created for the Assigned to field, the end user can select Fred Luddy or Beth Anglin, but not both at the same time. Before filtering for a new value, the user must first clear the current value. - Multiple: Multiple filter values can be selected at the same time. For example, if a facet is created for the Assigned to field, the end user can select both Fred Luddy and Beth Anglin. Because multi choice results in an OR query, records assigned to either Fred Luddy or Beth Anglin display.
ActiveWhether the filter option displays in search results.
Use mapped facet filtersMaps a facet to a query condition, such as [Updated][After][Last week]. When selected, the Fields and Sort fields are removed from the form. After saving, define filters in the Facet Filters related list.
OrderDefines the display order when multiple facets are defined. If some facets do not have an order value defined, facets with an order defined display first. Facets without an order defined are displayed alphabetically.
TableTable that the query is created for. This value is read-only and defined by the table used in the search source.
Field

Field that end users can filter search results by. For example, if Active is selected, the user can filter search results by true or false.

Only fields of the following types are supported: True/False, Choice, Decimal, Floating Point Number, Integer, IP Address, Long, Reference, String, String (Full UTF-8), and URL.

SortDetermines the order in which filter options display. - Ascending: Sorts filter options from A to Z when alphabetical, and from lowest to highest when numerical. This is the default option. - Descending: Sorts filter options from Z to A when alphabetical, and from highest to lowest when numerical.
  1. Save the record.

    If Use mapped facet filters is selected, the Facet Filters related list appears in the facet form.

  2. If Use mapped facet filters is selected, define facet filters.

    Map facet filters map a query condition to a facet label. When the end user selects the label from the facet list, the defined query executes.

    1. In the Facet Filters related list, click New.

      The Mapped Facet Form appears.

    2. Define the facet filter fields.

FieldDescription
NameDisplay name of the facet filter option.
OrderDefines the display order when multiple facet filters are defined. If some facet filters do not have an order value defined, facets filters with an order defined display first. Facet filters without an order defined are displayed alphabetically.
ApplicationThe application scope of the search source. This value is read-only.
FacetThe search facet that uses the mapped query. This value is read-only.
TableThe table defined in the search facet. This value is read-only.
Mapped queryA query condition that users can set to filter search results. For example, [Updated][On][Today].
3.  Click **Submit**.

    Users can filter search results based on the query defined.

Parent Topic:Zing search in Service Portal