Class ScoredDoc


  • public class ScoredDoc
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ScoredDoc​(int docid, double score, short occurrences, java.lang.String[] metadata, java.util.Map<java.lang.String,​java.lang.Integer> metaKeyOffset)  
    • Constructor Detail

      • ScoredDoc

        public ScoredDoc​(int docid,
                         double score,
                         short occurrences,
                         java.lang.String[] metadata,
                         java.util.Map<java.lang.String,​java.lang.Integer> metaKeyOffset)
    • Method Detail

      • getDocid

        public int getDocid()
      • getScore

        public double getScore()
      • getOccurrences

        public short getOccurrences()
      • getMetadata

        public java.lang.String getMetadata​(java.lang.String key)
      • getAllMetadata

        public java.lang.String[] getAllMetadata()