Class PhraseWildcardQuery.TermStats

  • Enclosing class:
    PhraseWildcardQuery

    public static class PhraseWildcardQuery.TermStats
    extends Object
    Accumulates the doc freq and total term freq.
    • Field Detail

      • termBytes

        protected final BytesRef termBytes
      • docFreq

        protected int docFreq
      • totalTermFreq

        protected long totalTermFreq
    • Constructor Detail

      • TermStats

        protected TermStats​(BytesRef termBytes)
    • Method Detail

      • getTermBytes

        public BytesRef getTermBytes()
      • addStats

        protected void addStats​(int docFreq,
                                long totalTermFreq)