This topic explains how compound dimension search results are ordered and contains examples of ordering.
Compound dimension search results are sets of dimension values that represent navigation states.
Technically, these groups are multisets, because a multiselect-AND
dimension may be listed more than once in the set. For example, the navigation
state
{Actor: Steve Martin, Actor: Goldie Hawn}
is
listed in the
{Actor, Actor}
group.
The sets are ordered according to the following criteria:
The primary sort is the number of dimensions represented in the navigation state. The fewer the number of dimensions, the higher the rank.
For example, a result with dimension values from two dimensions would be returned before one that contained results from three.
The secondary sort is lexicographical (alphanumeric), based on dimension ranks. The ordering of dimension values within each navigation state is based either on static dimension ranks (again lexicographic) or on relevance ranking, if the latter is enabled.
Example 65. Example of ordering compound dimension search results
For example, consider a compound dimension search whose results are placed in the following groups:
{Actor} {Director} {Actor, Director} {Actor, Director, Genre} {Director, Genre} {Title}
Assume that the static dimension ranks correspond to alphabetical order:
Actor < Director < Genre < Title
The compound dimension search result groups are ordered as follows:
{Actor} {Director} {Title} {Actor, Director} {Director, Genre} {Actor, Director, Genre}