Class LuceneVarGapDocFreqInterval
java.lang.Object
org.apache.lucene.codecs.PostingsFormat
org.apache.lucene.tests.codecs.blockterms.LuceneVarGapDocFreqInterval
- All Implemented Interfaces:
NamedSPILoader.NamedSPI
Customized version of
Lucene90PostingsFormat
that uses VariableGapTermsIndexWriter
with a fixed interval, but forcing high docfreq terms to be indexed
terms.-
Field Summary
Fields inherited from class org.apache.lucene.codecs.PostingsFormat
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfieldsConsumer
(SegmentWriteState state) fieldsProducer
(SegmentReadState state) Methods inherited from class org.apache.lucene.codecs.PostingsFormat
availablePostingsFormats, forName, getName, reloadPostingsFormats, toString
-
Constructor Details
-
LuceneVarGapDocFreqInterval
public LuceneVarGapDocFreqInterval() -
LuceneVarGapDocFreqInterval
public LuceneVarGapDocFreqInterval(int docFreqThreshold, int termIndexInterval)
-
-
Method Details
-
fieldsConsumer
- Specified by:
fieldsConsumer
in classPostingsFormat
- Throws:
IOException
-
fieldsProducer
- Specified by:
fieldsProducer
in classPostingsFormat
- Throws:
IOException
-