public class DelegatingComparator extends FacetResultsComparator
resultMult
Modifier and Type | Method and Description |
---|---|
int |
compare(SortableFacet.FacetBucket b1,
SortableFacet.FacetBucket b2)
Compare one facet bucket to another.
|
static FacetResultsComparator |
joinComparators(Collection<FacetResultsComparator> comparators) |
setDirection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static FacetResultsComparator joinComparators(Collection<FacetResultsComparator> comparators) throws SolrException
SolrException
public int compare(SortableFacet.FacetBucket b1, SortableFacet.FacetBucket b2)
FacetResultsComparator
compare
in interface Comparator<SortableFacet.FacetBucket>
compare
in class FacetResultsComparator
b1
- the first bucket to compareb2
- the second bucket to compareCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.