public abstract class PulsingPostingsFormat extends PostingsFormat
EMPTY| Constructor and Description |
|---|
PulsingPostingsFormat(String name,
PostingsBaseFormat wrappedPostingsBaseFormat,
int freqCutoff) |
PulsingPostingsFormat(String name,
PostingsBaseFormat wrappedPostingsBaseFormat,
int freqCutoff,
int minBlockSize,
int maxBlockSize)
Terms with freq <= freqCutoff are inlined into terms
dict.
|
| Modifier and Type | Method and Description |
|---|---|
FieldsConsumer |
fieldsConsumer(SegmentWriteState state)
Writes a new segment
|
FieldsProducer |
fieldsProducer(SegmentReadState state)
Reads a segment.
|
int |
getFreqCutoff() |
String |
toString() |
availablePostingsFormats, forName, getName, reloadPostingsFormatspublic PulsingPostingsFormat(String name, PostingsBaseFormat wrappedPostingsBaseFormat, int freqCutoff)
public PulsingPostingsFormat(String name, PostingsBaseFormat wrappedPostingsBaseFormat, int freqCutoff, int minBlockSize, int maxBlockSize)
public String toString()
toString in class PostingsFormatpublic FieldsConsumer fieldsConsumer(SegmentWriteState state) throws IOException
PostingsFormatfieldsConsumer in class PostingsFormatIOExceptionpublic FieldsProducer fieldsProducer(SegmentReadState state) throws IOException
PostingsFormatfieldsProducer in class PostingsFormatIOExceptionpublic int getFreqCutoff()
Copyright © 2000-2016 The Apache Software Foundation. All Rights Reserved.