Interface FacetTopValuesProvider

  • All Known Subinterfaces:
    TopValuesProvider
    All Known Implementing Classes:
    DefaultTopValuesProvider

    public interface FacetTopValuesProvider
    Facet Top Values are a list of facet values that are immediately shown on search and category pages for facets with many values. Other values will be collapsed.
    • Method Detail

      • getTopValues

        java.util.List<FacetValue> getTopValues​(IndexedProperty indexedProperty,
                                                java.util.List<FacetValue> facets)
        Returns all top facet values for given indexed property
        Parameters:
        indexedProperty - the property to provide a field name for
        facets - list of facets
        Returns:
        the list of top facet values