Sort Option form
The Sort Option form enables you to create a search result sort option in the search application configuration for an AI Search application.
For details on creating or editing search result sort options, see Search result sort options in AI Search application configurations.
| Field | Description |
|---|---|
| Label | Label displayed for the search result sort option in the search application's sort menu. |
| Sort Field | Name of a source table field or common index field that the sort option uses to sort search results. The sort field can be a date, number, or string field. Note: If you specify a sort field of an unsupported type, an error message appears when you attempt to save the sort option. Supports the following formats:
Sort search results on their values from the specified table's field. For example, enter Note: The parent search application configuration's linked search profile must include a search source derived from the specified indexed source table. If this condition isn't met, an error message appears when you attempt to save the sort option.
Sort search results on their values from the specified common AI Search index field. For example, enter The Special cases include:
If you specify an indexed source parent table's field in a sort option, AI Search includes values from the same field on child tables from the indexed source. For example, suppose you create an indexed source for custom table Parent [u_parent] which is extended by custom table Child [u_child], and then specify
You can specify a field that's unique to an indexed source's child table as a sort option field. Continuing the previous example, if your Child [u_child] table includes an Editor field that's not present on the Parent [u_parent] table, you can define Note: Be sure to specify the parent table's name as the qualifier, not the child table's name. |
| Application | Application scope for the search result sort option. This field is automatically set. |
| Ascending | Option to make the search result sort option display results in ascending order \(a to z\). Clear this option to make the search result sort option display results in descending order \(z to a\). |
| Active | Option to activate the search result sort option for use in the search application. |
Parent Topic:AI Search reference