Configuring range filters

You can add and edit range filters on existing properties in the data set in the Range Filters component.

Before adding new range filters, keep in mind that the property to be used for the range filter must already exist in the MDEX Engine.

The Range Filters component is configured via its configuration menu:

From this menu, you can add a new range filter, edit an existing range filter, or delete an existing range filter. The following procedure can be used when adding new range filters or editing existing ones.

To configure the Range Filters component:

  1. After adding a Range Filters component to a page, click its .... button and then click Preferences.

    The Range Filters edit view appears.

  2. Select from the available data sources in the drop-down list, and then click Update data source to bind your selection to the component.

  3. In the Range Filters edit view, either click Add Range Filter (to create a new range filter) or begin editing an existing range filter.

  4. In the Property Name field, enter the name of the property this filter is based on. You need to know the exact name of the property for which you want to create a filter (property names are case sensitive). If you are unsure of a property's name, you can consult the Endeca Attribute Settings component. If you attempt to add a range filter based on a property that does not exist, when you return to the full page, you will see the following error message:

  5. Enter one or two range values, depending on what type of filtering you want to provide:
    • Enter values for both Min and Max to provide a range.
    • Enter a single value for Min to allow Greater Than filtering.
    • Enter a single value for Max to allow Less Than filtering.
    For Date types, Min and Max values must be given in milliseconds-since-epoch format. The Range Filters component does not accept formatted date strings (such as "11/22/2010") or values in standard seconds-since-epoch format.
  6. From the Type drop-down, select the type of range filter: Numeric or Date.
  7. Check Enable Histogram to provide the end user with an interactive histogram control. If Enable Histogram is not checked, the end user sees a slider bar with no associated histogram.
  8. If you have enabled a histogram control, use the # Bins field to set the number of bars to display in the histogram.
  9. Click Update to update the range filter configuration.
  10. Click Save Preferences to save your changes to the component.