public final class TestBloomFilteredLucene41Postings 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 |
---|
TestBloomFilteredLucene41Postings() |
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 FieldsConsumer fieldsConsumer(SegmentWriteState state) throws IOException
PostingsFormat
fieldsConsumer
in class PostingsFormat
IOException
public FieldsProducer fieldsProducer(SegmentReadState state) throws IOException
PostingsFormat
fieldsProducer
in class PostingsFormat
IOException
Copyright © 2000–2024 The Apache Software Foundation. All rights reserved.