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, reloadPostingsFormats
public FieldsConsumer fieldsConsumer(SegmentWriteState state) throws java.io.IOException
PostingsFormat
fieldsConsumer
in class PostingsFormat
java.io.IOException
public FieldsProducer fieldsProducer(SegmentReadState state) throws java.io.IOException
PostingsFormat
fieldsProducer
in class PostingsFormat
java.io.IOException
public java.lang.String toString()
toString
in class PostingsFormat
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.