Interface FacetSortProvider

  • All Known Implementing Classes:
    DefaultFacetSortProvider

    public interface FacetSortProvider
    Interface for loading a custom comparator for a facet
    • Method Detail

      • getComparatorForTypeAndProperty

        java.util.Comparator<FacetValue> getComparatorForTypeAndProperty​(IndexedType indexedType,
                                                                         IndexedProperty indexedProperty)
        Get the comparator for the type and property
        Parameters:
        indexedType - the type
        indexedProperty - the property
        Returns:
        the comparator