Class DefaultBloomFilterFactory
Default policy is to allocate a bitset with 10% saturation given a unique term per document. Bits are set via MurmurHash2 hashing function.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Codecs.Bloom
Assembly: Lucene.Net.Codecs.dll
Syntax
public class DefaultBloomFilterFactory : BloomFilterFactory
Methods
| Improve this Doc View SourceGetSetForField(SegmentWriteState, FieldInfo)
Declaration
public override FuzzySet GetSetForField(SegmentWriteState state, FieldInfo info)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.SegmentWriteState | state | |
Lucene.Net.Index.FieldInfo | info |
Returns
Type | Description |
---|---|
FuzzySet |
Overrides
| Improve this Doc View SourceIsSaturated(FuzzySet, FieldInfo)
Declaration
public override bool IsSaturated(FuzzySet bloomFilter, FieldInfo fieldInfo)
Parameters
Type | Name | Description |
---|---|---|
FuzzySet | bloomFilter | |
Lucene.Net.Index.FieldInfo | fieldInfo |
Returns
Type | Description |
---|---|
System.Boolean |