Class DefaultTopValuesProvider

    • Constructor Detail

      • DefaultTopValuesProvider

        public DefaultTopValuesProvider()
    • 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: FacetTopValuesProvider
        Returns all top facet values for given indexed property
        Specified by:
        getTopValues in interface FacetTopValuesProvider
        Parameters:
        indexedProperty - the property to provide a field name for
        facetValues - list of facets
        Returns:
        the list of top facet values