Create a facet in an AI Search application configuration
Define facets to refine your searches using categories dynamically generated from the current search results.
Avant de commencer
Role required: search_application_admin
Pourquoi et quand exécuter cette tâche
- Single Select
-
In a Single Select facet, you can only select a single field value as a facet refinement filter.
When you select a field value from a Single Select, AI Search filters the search results list, displaying only results that contain your chosen field value.
A Single Select facet only allows you to select field values that are found in the current result set.
- Multi Select And
-
In a Multi Select And facet, you can select multiple field values as facet refinement filters.
When you select a field value from a Multi Select And facet, AI Search filters the search results list, displaying only results that contain all of the field values you've selected from the facet.
A Multi Select And facet only allows you to select field values that are found in the current result set.
- Multi Select Or
-
In a Multi Select Or facet, you can select multiple field values as facet refinement filters.
When you select a field value from a Multi Select Or facet, AI Search filters the search results list, displaying only results that contain any of the field values you've selected from the facet.
A Multi Select Or facet initially only allows you to select field values that are found in the current result set. All field values that are available when you make your first selection remain available for selection.
As an example, suppose you have a Multi Select Or facet for a custom Color field with blue, green, and red field values. If your search returns only green and red results, the Color facet only displays green and red field values. When you select the red field value, AI Search keeps the green field value available for selection because it was available before you made any Color selection.
- Choice
- Reference
- String
- String (Full UTF-8)
- True/False
When sorting facet refinement filters by name, AI Search uses collation-based sort following the rules for the ServiceNow AI Platform® session language.
For tables other than Knowledge [kb_knowledge], facets display appropriate field translations for the current user session. Facets don't display translated versions of kb_knowledge translated fields.
Procédure
Résultats
The new facet appears in the Facets related list.