Class DiversifiedTopDocsCollector.ScoreDocKey

  • Enclosing class:
    DiversifiedTopDocsCollector

    public static class DiversifiedTopDocsCollector.ScoreDocKey
    extends ScoreDoc
    An extension to ScoreDoc that includes a key used for grouping purposes
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.Long key  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ScoreDocKey​(int doc, float score)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long getKey()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • key

        java.lang.Long key
    • Constructor Detail

      • ScoreDocKey

        protected ScoreDocKey​(int doc,
                              float score)
    • Method Detail

      • getKey

        public java.lang.Long getKey()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class ScoreDoc