You enable refinement counts for a dimension search on a per-query
basis using the
Drc
(Refinement Configuration for Dimension Search) query
parameter. The
Drc
parameter has a configuration option to enable
refinement counts (the
showcounts
setting). You can specify a list of dimension
values by Id for the showcounts
setting, or you can omit the
Id value to enable refinement counts globally for all dimension values in an
application.
No Developer Studio configuration or dgraph flags are required to enable
this feature. For details and examples of
Drc
, see
Drc (Refinement Configuration for Dimension Search).