Class PhraseWildcardQuery.TermStats

  • Enclosing class:
    PhraseWildcardQuery

    public static class PhraseWildcardQuery.TermStats
    extends java.lang.Object
    Accumulates the doc freq and total term freq.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TermStats​(BytesRef termBytes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addStats​(int docFreq, long totalTermFreq)  
      BytesRef getTermBytes()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)