Constructor BloomFilteringPostingsFormat
BloomFilteringPostingsFormat(PostingsFormat, BloomFilterFactory)
Creates Bloom filters for a selection of fields created in the index. This is recorded as a set of Bitsets held as a segment summary in an additional "blm" file. This PostingsFormat delegates to a choice of delegate PostingsFormat for encoding all other postings data.
Declaration
public BloomFilteringPostingsFormat(PostingsFormat delegatePostingsFormat, BloomFilterFactory bloomFilterFactory)
Parameters
Type | Name | Description |
---|---|---|
PostingsFormat | delegatePostingsFormat | The PostingsFormat that records all the non-bloom filter data i.e. postings info. |
BloomFilterFactory | bloomFilterFactory | The BloomFilterFactory responsible for sizing BloomFilters appropriately. |
BloomFilteringPostingsFormat(PostingsFormat)
Creates Bloom filters for a selection of fields created in the index. This is recorded as a set of Bitsets held as a segment summary in an additional "blm" file. This PostingsFormat delegates to a choice of delegate PostingsFormat for encoding all other postings data. This choice of constructor defaults to the DefaultBloomFilterFactory for configuring per-field BloomFilters.
Declaration
public BloomFilteringPostingsFormat(PostingsFormat delegatePostingsFormat)
Parameters
Type | Name | Description |
---|---|---|
PostingsFormat | delegatePostingsFormat | The PostingsFormat that records all the non-bloom filter data i.e. postings info. |
BloomFilteringPostingsFormat()
Used only by core Lucene at read-time via Service Provider instantiation - do not use at Write-time in application code.
Declaration
public BloomFilteringPostingsFormat()