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) |
FieldsProducer |
fieldsProducer(SegmentReadState state) |
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 String toString()
toString in class PostingsFormatpublic FieldsConsumer fieldsConsumer(SegmentWriteState state) throws IOException
fieldsConsumer in class PostingsFormatIOExceptionpublic FieldsProducer fieldsProducer(SegmentReadState state) throws IOException
fieldsProducer in class PostingsFormatIOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.