Class TermStats

    • Field Summary

      Fields 
      Modifier and Type Field Description
      int docFreq
      How many documents have at least one occurrence of this term.
      long totalTermFreq
      Total number of times this term occurs across all documents in the field.
    • Constructor Summary

      Constructors 
      Constructor Description
      TermStats​(int docFreq, long totalTermFreq)
      Sole constructor.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • docFreq

        public final int docFreq
        How many documents have at least one occurrence of this term.
      • totalTermFreq

        public final long totalTermFreq
        Total number of times this term occurs across all documents in the field.
    • Constructor Detail

      • TermStats

        public TermStats​(int docFreq,
                         long totalTermFreq)
        Sole constructor.