public final class LuceneVarGapDocFreqInterval extends PostingsFormat
Lucene50PostingsFormat that uses
VariableGapTermsIndexWriter with a fixed interval, but
forcing high docfreq terms to be indexed terms.EMPTY| Constructor and Description |
|---|
LuceneVarGapDocFreqInterval() |
LuceneVarGapDocFreqInterval(int docFreqThreshold,
int termIndexInterval) |
| Modifier and Type | Method and Description |
|---|---|
FieldsConsumer |
fieldsConsumer(SegmentWriteState state)
Writes a new segment
|
FieldsProducer |
fieldsProducer(SegmentReadState state)
Reads a segment.
|
availablePostingsFormats, forName, getName, reloadPostingsFormats, toStringpublic LuceneVarGapDocFreqInterval()
public LuceneVarGapDocFreqInterval(int docFreqThreshold,
int termIndexInterval)
public FieldsConsumer fieldsConsumer(SegmentWriteState state) throws java.io.IOException
PostingsFormatfieldsConsumer in class PostingsFormatjava.io.IOExceptionpublic FieldsProducer fieldsProducer(SegmentReadState state) throws java.io.IOException
PostingsFormatfieldsProducer in class PostingsFormatjava.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.