When defining a facet in Oracle ATG Web Commerce Merchandising, a merchandiser can optionally specify a priority value for the facet. The facet priority value must be zero (0) or a positive integer. The higher the value is, the lower the priority.

The priority values determine the order in which the facets appear in refinement configurations, which determines the order in which facets are returned by Oracle ATG Web Commerce Search. So, for example, if a refinement configuration has a Color facet with priority 0 and a Size facet with priority 3, the Color facet is returned before the Size facet. If the page doesn’t do any reordering of the facets, the Color facet is displayed above the Size facet.

If a facet is not assigned a priority value in Oracle ATG Web Commerce Merchandising, its priority is set to the value of the FacetSearchTools component’s defaultFacetPriority property. The default value of this property is 100, so that facets whose priority value is null are assigned a low priority. You can change this value in the FacetSearchTools component’s properties file. For example:

defaultFacetPriority=50