You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2020/04/06 09:36:50 UTC

[incubator-iotdb] 02/02: add bloom filter in iotdb-engien.properties

This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch rel/0.9
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit d14e2850fa052de83d99d09bd2f1723da3d596b4
Author: qiaojialin <64...@qq.com>
AuthorDate: Mon Apr 6 17:36:29 2020 +0800

    add bloom filter in iotdb-engien.properties
---
 docs/UserGuide/4-Client/5-Programming - TsFile API.md    | 6 ++++--
 docs/zh/UserGuide/4-Client/5-Programming - TsFile API.md | 4 +++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/docs/UserGuide/4-Client/5-Programming - TsFile API.md b/docs/UserGuide/4-Client/5-Programming - TsFile API.md
index eaeab20..42422f9 100644
--- a/docs/UserGuide/4-Client/5-Programming - TsFile API.md	
+++ b/docs/UserGuide/4-Client/5-Programming - TsFile API.md	
@@ -700,9 +700,11 @@ Bloom filter checks whether a given time series is in the tsfile before loading
 If you want to learn more about its mechanism, you can refer to: [wiki page of bloom filter](https://en.wikipedia.org/wiki/Bloom_filter).
 
 #### configuration 
-you can control the false positive rate of bloom filter by the following parameter in the config file `iotdb-engine.properties` which located at `/server/src/assembly/resources/conf` directory
+
+you can control the false positive rate of bloom filter by changing the bloomFilterErrorRate in TSFileConfig
+
 ```
 # The acceptable error rate of bloom filter, should be in [0.01, 0.1], default is 0.05
-bloom_filter_error_rate=0.05
+bloomFilterErrorRate=0.05
 ```
 
diff --git a/docs/zh/UserGuide/4-Client/5-Programming - TsFile API.md b/docs/zh/UserGuide/4-Client/5-Programming - TsFile API.md
index 9dce284..afd3237 100644
--- a/docs/zh/UserGuide/4-Client/5-Programming - TsFile API.md	
+++ b/docs/zh/UserGuide/4-Client/5-Programming - TsFile API.md	
@@ -683,7 +683,9 @@ config.setXXX()
   如果要了解有关其机制的更多信息,可以参考: [wiki page of bloom filter](https://en.wikipedia.org/wiki/Bloom_filter).
 
 #### 配置
-您可以通过`/ server / src / assembly / resources / conf`目录中的配置文件`iotdb-engine.properties`中的以下参数来控制Bloom过滤器的误报率。
+
+您可以通过修改 TSFileConfig 里的 bloomFilterErrorRate 参数来控制Bloom过滤器的误报率。
+
 ```
 # The acceptable error rate of bloom filter, should be in [0.01, 0.1], default is 0.05
 bloom_filter_error_rate=0.05