Another way to limit dimension search results (an alternative to
using the
Di
parameter only) is to limit the number of dimension
values to return with each dimension, using the
numresults
option of the
Drc
parameter.
The
Drc
parameter depends on the Dimension Search
(D
) parameter.
Note
The
Drc
parameter is not supported with compound
dimension search.
To limit the number of dimension values to return with each dimension:
In a query, specify the
Drc
parameter, thenumresults
option to the parameter, and an integer value that represents the maximum dimension value count to return.For example, the following query:
D=red&Drc=id+11+numresults+1
returns only the following results:
Optionally, use the Refinement Configuration for Dimension Search parameter (
Drc
) with thenumresults
option and theid
option.In this case only the first
n
dimension values for the specified dimension are returned.For example, the following query that contains a dimension search where the
Winery
dimension has an ID of11
:D=red&Drc=numresults+1|id+11
returns only the following results: