Browse Source

fix bloom filter posting format to get the fpp from the correct settings

Shay Banon 11 years ago
parent
commit
a92907c47e

+ 1 - 1
src/main/java/org/elasticsearch/index/codec/postingsformat/BloomFilterPostingsFormatProvider.java

@@ -42,7 +42,7 @@ public class BloomFilterPostingsFormatProvider extends AbstractPostingsFormatPro
         this.delegate = Helper.lookup(indexSettings, postingsFormatSettings.get("delegate"), postingFormatFactories);
         this.postingsFormat = new BloomFilterPostingsFormat(
                 delegate.get(),
-                BloomFilter.Factory.buildFromString(indexSettings.get("fpp"))
+                BloomFilter.Factory.buildFromString(postingsFormatSettings.get("fpp"))
         );
     }