Class FreqTermsEnum

java.lang.Object
org.apache.lucene.index.TermsEnum
org.elasticsearch.common.lucene.index.FilterableTermsEnum
org.elasticsearch.common.lucene.index.FreqTermsEnum
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.lucene.util.BytesRefIterator, org.elasticsearch.core.Releasable

public class FreqTermsEnum extends FilterableTermsEnum implements org.elasticsearch.core.Releasable
A frequency terms enum that maintains a cache of docFreq, totalTermFreq, or both for repeated term lookup.
  • Constructor Details

    • FreqTermsEnum

      public FreqTermsEnum(org.apache.lucene.index.IndexReader reader, String field, boolean needDocFreq, boolean needTotalTermFreq, @Nullable org.apache.lucene.search.Query filter, BigArrays bigArrays) throws IOException
      Throws:
      IOException
  • Method Details