Returns a sorted collection of refinement values for the given refinement
attribute. In general, the returned collection includes all refinement
values for which hit count is greater than 0 within the search result
assuming that:
- The passed refinement attribute is NOT used to filter the search
hits.
- All other refinements are still applied.
This is useful for rendering broadening options for the refinement
definitions that the search is already refined by. It is important to
note that this method does NOT return refinement values independent of
the search result.
For product search refinements, this method may return slightly different
results based on the "value set" of the refinement definition. See
ProductSearchRefinements.getAllRefinementValues(ProductSearchRefinementDefinition)
for details.
Parameters:
attributeName
-
The name of the attribute to return refinement values for.
sortMode
-
The sort mode to use to control how the collection is sorted.
sortDirection
-
The sort direction to use.