Class LeanHit

java.lang.Object
com.yahoo.search.dispatch.LeanHit
All Implemented Interfaces:
Comparable<LeanHit>

public class LeanHit extends Object implements Comparable<LeanHit>
Author:
baldersheim
  • Constructor Details

    • LeanHit

      public LeanHit(byte[] gid, int partId, int distributionKey, double relevance)
    • LeanHit

      public LeanHit(byte[] gid, int partId, int distributionKey, double relevance, byte[] sortData)
  • Method Details

    • getRelevance

      public double getRelevance()
    • getGid

      public byte[] getGid()
    • getSortData

      public byte[] getSortData()
    • hasSortData

      public boolean hasSortData()
    • getPartId

      public int getPartId()
    • getDistributionKey

      public int getDistributionKey()
    • getMatchFeatures

      public FeatureData getMatchFeatures()
    • hasMatchFeatures

      public boolean hasMatchFeatures()
    • addMatchFeatures

      public void addMatchFeatures(com.yahoo.data.access.Inspector features)
    • compareTo

      public int compareTo(LeanHit o)
      Specified by:
      compareTo in interface Comparable<LeanHit>