Baqend / Orestes-Bloomfilter

Library of different Bloom filters in Java with optional Redis-backing, counting and many hashing options.
Other
843 stars 245 forks source link

question #49

Open publicocean0 opened 7 years ago

publicocean0 commented 7 years ago

Hi , i d like use your MemoryCountingBloomFilter but i have a question. How to resize automatically the size of the filter ? i want use it in a repository but i cant know the size of the elements. I saw there is a handler for overflow. I thought to use this handler for rebuilding a new filter with a size 2n. I thought i could use just the info in the filter for resizing the filter. In the case i renew i could use this func @Override public boolean union(BloomFilter other) { //TODO throw new UnsupportedOperationException(); }