fusesource / leveldbjni

A Java Native Interface to LevelDB
BSD 3-Clause "New" or "Revised" License
536 stars 143 forks source link

Support for Options::filter_policy #45

Open vinothchandar opened 10 years ago

vinothchandar commented 10 years ago

Hi,

From http://code.google.com/p/leveldb/source/browse/include/leveldb/options.h#135

// Many applications will benefit from passing the result of
  // NewBloomFilterPolicy() here.
  //

Any reason the Bloom Filter support is not added yet? Without this, the performance seems poor for large datasets..

domkm commented 10 years ago

Any update on this? Will bloom filter support be added eventually?

chirino commented 10 years ago

Just waiting for someone to take a crack at implementing it.

raylau1234 commented 8 years ago

While a full implementation supporting arbitrary filters seems hard, perhaps an option to use the included NewBloomFilterPolicy by allowing the user to pass in the # of bits?