org.apache.lucene.codecs

Class TermStats

    • 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.