public final class AutoPrefixPostingsFormat extends PostingsFormat
Lucene50PostingsFormat except this format
exposes the experimental auto-prefix terms.EMPTY| Constructor and Description |
|---|
AutoPrefixPostingsFormat()
Creates
AutoPrefixPostingsFormat with default settings. |
AutoPrefixPostingsFormat(int minItemsInAutoPrefix,
int maxItemsInAutoPrefix)
Creates
Lucene50PostingsFormat with custom
values for minBlockSize and maxBlockSize passed to block terms dictionary. |
AutoPrefixPostingsFormat(int minItemsInBlock,
int maxItemsInBlock,
int minItemsInAutoPrefix,
int maxItemsInAutoPrefix)
Creates
Lucene50PostingsFormat with custom
values for minBlockSize, maxBlockSize, minItemsInAutoPrefix and maxItemsInAutoPrefix, passed
to block tree terms dictionary. |
| Modifier and Type | Method and Description |
|---|---|
FieldsConsumer |
fieldsConsumer(SegmentWriteState state)
Writes a new segment
|
FieldsProducer |
fieldsProducer(SegmentReadState state)
Reads a segment.
|
java.lang.String |
toString() |
availablePostingsFormats, forName, getName, reloadPostingsFormatspublic AutoPrefixPostingsFormat()
AutoPrefixPostingsFormat with default settings.public AutoPrefixPostingsFormat(int minItemsInAutoPrefix,
int maxItemsInAutoPrefix)
Lucene50PostingsFormat with custom
values for minBlockSize and maxBlockSize passed to block terms dictionary.public AutoPrefixPostingsFormat(int minItemsInBlock,
int maxItemsInBlock,
int minItemsInAutoPrefix,
int maxItemsInAutoPrefix)
Lucene50PostingsFormat with custom
values for minBlockSize, maxBlockSize, minItemsInAutoPrefix and maxItemsInAutoPrefix, passed
to block tree terms dictionary.public java.lang.String toString()
toString in class PostingsFormatpublic 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–2017 The Apache Software Foundation. All rights reserved.