public final class TestBloomFilteredLucenePostings extends PostingsFormat
BloomFilteringPostingsFormat with a concrete
delegate (Lucene41). Creates a Bloom filter on ALL fields and with tiny
amounts of memory reserved for the filter. DO NOT USE IN A PRODUCTION
APPLICATION This is not a realistic application of Bloom Filters as they
ordinarily are larger and operate on only primary key type fields.EMPTY| Constructor and Description |
|---|
TestBloomFilteredLucenePostings() |
| 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 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.IOExceptionpublic java.lang.String toString()
toString in class PostingsFormatCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.