Retrieving refinement counts with the API

The application UI can display the number of records returned for refinements.

Refinement counts represent the number of records (in the current navigation state) available beneath a given refinement value. These counts are dynamically computed at run-time by the Oracle Endeca Server and can be displayed in the user interface.

By providing the user with an indication of the number of records that will be returned for each refinement, refinement counts can enhance the front-end application’s navigation controls by providing more context at each point in the application.

A refinement count is the number of records that would be in the result set if you were to refine on an attribute value.

By default, both standard and managed attributes are enabled for refinement counts. Therefore, no further configuration is needed to display record counts. So long as there are attribute values returned for a given request, refinement value statistics will be returned as an attribute attached to each attribute value.

You can, however, disable refinement statistics for attributes in the system-navigation_ShowRecordCounts property on the PDR.