Class TestBloomFilteredLucenePostings
java.lang.Object
org.apache.lucene.codecs.PostingsFormat
org.apache.lucene.tests.codecs.bloom.TestBloomFilteredLucenePostings
- All Implemented Interfaces:
NamedSPILoader.NamedSPI
A class used for testing
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.-
Field Summary
Fields inherited from class org.apache.lucene.codecs.PostingsFormat
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfieldsConsumer(SegmentWriteState state) fieldsProducer(SegmentReadState state) toString()Methods inherited from class org.apache.lucene.codecs.PostingsFormat
availablePostingsFormats, forName, getName, reloadPostingsFormats
-
Constructor Details
-
TestBloomFilteredLucenePostings
public TestBloomFilteredLucenePostings()
-
-
Method Details
-
fieldsConsumer
- Specified by:
fieldsConsumerin classPostingsFormat- Throws:
IOException
-
fieldsProducer
- Specified by:
fieldsProducerin classPostingsFormat- Throws:
IOException
-
toString
- Overrides:
toStringin classPostingsFormat
-