public final class LuceneVarGapFixedInterval extends PostingsFormat
Lucene50PostingsFormat
that uses
VariableGapTermsIndexWriter
with a fixed interval.EMPTY
Constructor and Description |
---|
LuceneVarGapFixedInterval() |
LuceneVarGapFixedInterval(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, toString
public LuceneVarGapFixedInterval()
public LuceneVarGapFixedInterval(int termIndexInterval)
public FieldsConsumer fieldsConsumer(SegmentWriteState state) throws java.io.IOException
PostingsFormat
fieldsConsumer
in class PostingsFormat
java.io.IOException
public FieldsProducer fieldsProducer(SegmentReadState state) throws java.io.IOException
PostingsFormat
fieldsProducer
in class PostingsFormat
java.io.IOException
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.