org.apache.solr.search

## Class ReRankCollector.BoostedComp

- java.lang.Object
- - org.apache.solr.search.ReRankCollector.BoostedComp

- All Implemented Interfaces:
    Comparator
  Enclosing class:
    ReRankCollector

      public class ReRankCollector.BoostedComp
      extends Object
      implements Comparator

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BoostedComp(com.carrotsearch.hppc.IntIntHashMap boostedDocs, ScoreDoc[] scoreDocs, float maxScore)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(Object o1, Object o2)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.Comparator

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### BoostedComp

          public BoostedComp(com.carrotsearch.hppc.IntIntHashMap boostedDocs,
                             ScoreDoc[] scoreDocs,
                             float maxScore)

  - ### Method Detail

    - #### compare

          public int compare(Object o1,
                             Object o2)

      Specified by:
        `compare` in interface `Comparator`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.