public 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.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public boolean isSaturated(FuzzySet bloomFilter,
Used to determine if the given filter has reached saturation and should be retired i.e. not saved any more
- Specified by:
isSaturated in class
bloomFilter - The bloomFilter being tested
fieldInfo - The field with which this filter is associated
- true if the set has reached saturation and should be retired
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.