Coveo for Sitecore 5 is now available!

Rule Set Editor Boosting and Filtering Rules Reference

Enterprise only

This page only applies to Coveo for Sitecore Enterprise users.

To learn how to implement boosting or filtering rules, see Applying Filtering and Ranking Rules.

This page explains the different available rules of the Rule Set Editor.

Rules are applied according to 3 conditions:

  • Coveo Fields
  • Items Properties
  • Enabled xDB/DMS

Coveo Fields

These are rules that can be applied according to item fields.

  1. where specific field compares to specific value

    This rule can be used to boost or filter items that have the value specified in the specific field. You should use this rule for string fields.

  2. where specific field is between specific date and specific date

    This rule can be used to boost or filter items with a specific date field value between the two specified dates.

  3. where specific field is between specific numerical value and specific numerical value

    This rule can be used to boost or filter items that have a numerical field value between the two specified values.

  4. where specific field compares to specific date

    This rule can be used to boost or filter items that have the value specified in the specific field. You should use this rule for date fields. 

  5. where specific field compares to specific numerical value

    This rule can be used to boost or filter items that have the value specified in the specific field. You should use this rule for numerical fields.

Coveo Items

These are rules that can be applied according to item properties.

  1. where the item ID compares to value

    This rule can be used to boost or filter items according to a specific ID. The specified ID should be in this format: {391FCAAB-8BB5-48C2-8AC8-9C96C6F19225}

  2. where the item is the specific item

    This rule can be used to filter or boost a specific item, ignoring its tree.

  3. where the item is the specific item or one of its subitems

    This rule can be used to filter or boost items that are included in the specified tree of items. The specified item will be considered as the top tree, in an inclusive manner.

  4. where the item has layout

    This rule can be used to filter or boost items that have a layout or not.

  5. where the item template is specific template

    This rule can be used to filter or boost items that are made from the specified template.

  6. where the item template is or inherits from specific template

    This rule can be used to filter out or boost items based on the specified template or whose template inherits from the specified template. This rule does not support multiple inheritance levels.

  7. where the item is a child of the specific item

    This rule can be used to filter or boost items that are included in the specified tree of items. The specified item will be considered as the top tree, in an exclusive manner.

  8. where the item is the first-level child of the specific item

    This rule can be used to filter or boost items that are direct descendants of the specified item.

Coveo xDB/DMS

Coveo xDB/DMS rules are only visible when the Sitecore DMS/xDB is enabled.

These are rules that apply only when the xDB/DMS is enabled. They are related to the profile and pattern cards.

  1. where the item profile card is specific profile card

    This rule boosts or filters items that have the selected profile card assigned. You should use this rule if you only want Business items, for example.

  2. where the item specific profile key compares to specific numerical value

    This rule boosts or filters items that have the selected profile key value. You should use this rule if you want the items that have more than five of the business keys, for example.

  3. where the item profile card is specific profile card and the current visit matches the specific pattern card in the specific profile

    This rule creates a manual match between the pattern cards and the profile cards. For example, use this rule to boost the items with the Business profile cards, when the recognized pattern is Bob the Business Traveler.