public class DefaultBloomFilterFactory extends BloomFilterFactory
Constructor and Description |
---|
DefaultBloomFilterFactory() |
Modifier and Type | Method and Description |
---|---|
FuzzySet |
getSetForField(SegmentWriteState state,
FieldInfo info) |
boolean |
isSaturated(FuzzySet bloomFilter,
FieldInfo fieldInfo)
Used to determine if the given filter has reached saturation and should be retired i.e.
|
downsize
public FuzzySet getSetForField(SegmentWriteState state, FieldInfo info)
getSetForField
in class BloomFilterFactory
state
- The content to be indexedinfo
- the field requiring a BloomFilterpublic boolean isSaturated(FuzzySet bloomFilter, FieldInfo fieldInfo)
BloomFilterFactory
isSaturated
in class BloomFilterFactory
bloomFilter
- The bloomFilter being testedfieldInfo
- The field with which this filter is associatedCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.