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) |
FieldsProducer |
fieldsProducer(SegmentReadState state) |
availablePostingsFormats, forName, getName, reloadPostingsFormats, toStringpublic LuceneVarGapDocFreqInterval()
public LuceneVarGapDocFreqInterval(int docFreqThreshold,
int termIndexInterval)
public FieldsConsumer fieldsConsumer(SegmentWriteState state) throws IOException
fieldsConsumer in class PostingsFormatIOExceptionpublic FieldsProducer fieldsProducer(SegmentReadState state) throws IOException
fieldsProducer in class PostingsFormatIOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.