Class DefaultTopValuesProvider
- java.lang.Object
-
- de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.DefaultTopValuesProvider
-
- All Implemented Interfaces:
FacetTopValuesProvider
public class DefaultTopValuesProvider extends java.lang.Object implements FacetTopValuesProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultTopValuesProvider.FacetValueCountComparatorDeprecated, for removal: This API element is subject to removal in a future version.Since 6.7, this is no longer used.
-
Constructor Summary
Constructors Constructor Description DefaultTopValuesProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetTopFacetCount()java.util.List<FacetValue>getTopValues(IndexedProperty indexedProperty, java.util.List<FacetValue> facetValues)Returns all top facet values for given indexed propertyvoidsetTopFacetCount(int topFacetCount)
-
-
-
Method Detail
-
getTopFacetCount
protected int getTopFacetCount()
-
setTopFacetCount
public void setTopFacetCount(int topFacetCount)
-
getTopValues
public java.util.List<FacetValue> getTopValues(IndexedProperty indexedProperty, java.util.List<FacetValue> facetValues)
Description copied from interface:FacetTopValuesProviderReturns all top facet values for given indexed property- Specified by:
getTopValuesin interfaceFacetTopValuesProvider- Parameters:
indexedProperty- the property to provide a field name forfacetValues- list of facets- Returns:
- the list of top facet values
-
-