Class BloomFilteringPostingsFormat
A Postings
A choice of Bloom
The format of the blm file is as follows:
- BloomFilter (.blm) --> Header, DelegatePostingsFormatName, NumFilteredFields, FilterNumFilteredFields, Footer
- Filter --> FieldNumber, FuzzySet
- FuzzySet -->See Serialize(Data
Output) - Header --> CodecHeader (
) - DelegatePostingsFormatName --> String (
) The name of a ServiceProvider registered Postings Format - NumFilteredFields --> Uint32 (
) - FieldNumber --> Uint32 (
) The number of the field in this segment - Footer --> CodecFooter (Write
Footer(Index )Output)
Inherited Members
Namespace: Lucene.Net.Codecs.Bloom
Assembly: Lucene.Net.Codecs.dll
Syntax
public sealed class BloomFilteringPostingsFormat : PostingsFormat
Constructors
| Improve this Doc View SourceBloomFilteringPostingsFormat()
Used only by core Lucene at read-time via Service Provider instantiation - do not use at Write-time in application code.
Declaration
public BloomFilteringPostingsFormat()
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 Postings
Declaration
public BloomFilteringPostingsFormat(PostingsFormat delegatePostingsFormat)
Parameters
Type | Name | Description |
---|---|---|
Postings |
delegatePostingsFormat | The Postings |
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 Postings
Declaration
public BloomFilteringPostingsFormat(PostingsFormat delegatePostingsFormat, BloomFilterFactory bloomFilterFactory)
Parameters
Type | Name | Description |
---|---|---|
Postings |
delegatePostingsFormat | The Postings |
Bloom |
bloomFilterFactory | The Bloom |
Fields
| Improve this Doc View SourceVERSION_CHECKSUM
Declaration
public static readonly int VERSION_CHECKSUM
Field Value
Type | Description |
---|---|
System. |
VERSION_CURRENT
Declaration
public static readonly int VERSION_CURRENT
Field Value
Type | Description |
---|---|
System. |
VERSION_START
Declaration
public static readonly int VERSION_START
Field Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceFieldsConsumer(SegmentWriteState)
Declaration
public override FieldsConsumer FieldsConsumer(SegmentWriteState state)
Parameters
Type | Name | Description |
---|---|---|
Segment |
state |
Returns
Type | Description |
---|---|
Fields |
Overrides
| Improve this Doc View SourceFieldsProducer(SegmentReadState)
Declaration
public override FieldsProducer FieldsProducer(SegmentReadState state)
Parameters
Type | Name | Description |
---|---|---|
Segment |
state |
Returns
Type | Description |
---|---|
Fields |