Class IntervalFacetEntry


  • public class IntervalFacetEntry
    extends FacetEntry
    Facet entry that describes a numerical interval. If only the lower value or only the upper value is set, this means it's an open ended interval, e.g. '< 100' for upper bound only.
    • Constructor Detail

      • IntervalFacetEntry

        public IntervalFacetEntry​(Number lowerBound,
                                  Number upperBound,
                                  long docCount,
                                  String link,
                                  boolean isSelected)
        Parameters:
        lowerBound - lower bound of interval represented by that facet entry. Can be null if upper bound exists.
        upperBound - upper bound of interval represented by that facet entry. Can be null if lower bound exists.
        docCount - the amount of documents covered by that interval
        link - the link to toggle the filter state of the related result
        isSelected - true if the related result is currently filtered by that interval