Enabling Dimension Refinement Counts in a CAS­ application (Forgeless)

  1. Home
  2. Blog
  3. Enabling Dimension Refinement Counts in a CAS­ application (Forgeless)

Enabling Dimension Refinement Counts in a CAS­ application (Forgeless)

Problem

Are you missing refinement counts on dimensions with Oracle Commerce 11.1 or later using CAS ­based application (Forgeless)? Endeca JSP Reference Application shows records but missing counts of records next to those dimensions. Do you want to fix it, well then this discussion is for you.

With earlier application which uses Forge, it was possible to enable refinement counts per­ Dimension using Developer Studio which will ultimately update pipeline <app>.refinement_config.xml file. This file is omitted in CAS ­based configuration files found in <endeca-app-path>/config/mdex.

As we cannot use Developer Studio to enable refinement statistics at dimension level with CAS­ based application and if a client is not using Experience Manager cartridges, which can enable refinements statistics at the cartridge level, dimension counts feature is missing.

Solution

Get file <endeca-app-path>/config/pipeline/<app>.refinement_config.xml from forge base application and place it in CAS application’s <endeca-app-path>/config/mdex directory.

Set “STATS NUM_RECORDS” attribute to “TRUE” for each dimension you intend to enable counts for.

Example:

<REFINEMENTS NAME="product.onSale" SORT_TYPE="NUMERIC">
        <STATS NUM_RECORDS="TRUE"/>
</REFINEMENTS>

Run baseline update and missing refinement counts on dimensions issues will be fix.

Let's Share

Write a Reply or Comment

Show Buttons
Hide Buttons