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

leesf pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new e500cc1  [HUDI-437] Add user-defined index config (#1414)
e500cc1 is described below

commit e500cc1b0cf6ecf3dc7bae5e38d2bdc773830c48
Author: leesf <[email protected]>
AuthorDate: Thu Mar 19 20:04:45 2020 +0800

    [HUDI-437] Add user-defined index config (#1414)
---
 docs/_docs/0.5.0/2_4_configurations.md | 2 +-
 docs/_docs/0.5.1/2_4_configurations.md | 2 +-
 docs/_docs/2_4_configurations.cn.md    | 4 ++++
 docs/_docs/2_4_configurations.md       | 6 +++++-
 4 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/docs/_docs/0.5.0/2_4_configurations.md 
b/docs/_docs/0.5.0/2_4_configurations.md
index 009362d..72b1f71 100644
--- a/docs/_docs/0.5.0/2_4_configurations.md
+++ b/docs/_docs/0.5.0/2_4_configurations.md
@@ -222,7 +222,7 @@ Following configs control indexing behavior, which tags 
incoming records as eith
 
 [withIndexConfig](#withIndexConfig) (HoodieIndexConfig) <br/>
 <span style="color:grey">This is pluggable to have a external index (HBase) or 
use the default bloom filter stored in the Parquet files</span>
-        
+
 #### withIndexType(indexType = BLOOM) {#withIndexType}
 Property: `hoodie.index.type` <br/>
 <span style="color:grey">Type of index to use. Default is Bloom filter. 
Possible options are [BLOOM | HBASE | INMEMORY]. Bloom filters removes the 
dependency on a external system and is stored in the footer of the Parquet Data 
Files</span>
diff --git a/docs/_docs/0.5.1/2_4_configurations.md 
b/docs/_docs/0.5.1/2_4_configurations.md
index a535727..ac35a9a 100644
--- a/docs/_docs/0.5.1/2_4_configurations.md
+++ b/docs/_docs/0.5.1/2_4_configurations.md
@@ -222,7 +222,7 @@ Following configs control indexing behavior, which tags 
incoming records as eith
 
 [withIndexConfig](#withIndexConfig) (HoodieIndexConfig) <br/>
 <span style="color:grey">This is pluggable to have a external index (HBase) or 
use the default bloom filter stored in the Parquet files</span>
-        
+
 #### withIndexType(indexType = BLOOM) {#withIndexType}
 Property: `hoodie.index.type` <br/>
 <span style="color:grey">Type of index to use. Default is Bloom filter. 
Possible options are [BLOOM | HBASE | INMEMORY]. Bloom filters removes the 
dependency on a external system and is stored in the footer of the Parquet Data 
Files</span>
diff --git a/docs/_docs/2_4_configurations.cn.md 
b/docs/_docs/2_4_configurations.cn.md
index bd0ddf5..d1cb780 100644
--- a/docs/_docs/2_4_configurations.cn.md
+++ b/docs/_docs/2_4_configurations.cn.md
@@ -230,6 +230,10 @@ Hudi将有关提交、保存点、清理审核日志等的所有主要元数据
 
 [withIndexConfig](#withIndexConfig) (HoodieIndexConfig) <br/>
 <span style="color:grey">可插入以具有外部索引(HBase)或使用存储在Parquet文件中的默认布隆过滤器(bloom 
filter)</span>
+
+#### withIndexClass(indexClass = "x.y.z.UserDefinedIndex") {#withIndexClass}
+属性:`hoodie.index.class` <br/>
+<span 
style="color:grey">用户自定义索引的全路径名,索引类必须为HoodieIndex的子类,当指定该配置时,其会优先于`hoodie.index.type`配置</span>
         
 #### withIndexType(indexType = BLOOM) {#withIndexType}
 属性:`hoodie.index.type` <br/>
diff --git a/docs/_docs/2_4_configurations.md b/docs/_docs/2_4_configurations.md
index 33c5e2c..16dacba 100644
--- a/docs/_docs/2_4_configurations.md
+++ b/docs/_docs/2_4_configurations.md
@@ -221,7 +221,11 @@ Following configs control indexing behavior, which tags 
incoming records as eith
 
 [withIndexConfig](#withIndexConfig) (HoodieIndexConfig) <br/>
 <span style="color:grey">This is pluggable to have a external index (HBase) or 
use the default bloom filter stored in the Parquet files</span>
-        
+
+#### withIndexClass(indexClass = "x.y.z.UserDefinedIndex") {#withIndexClass}
+Property: `hoodie.index.class` <br/>
+<span style="color:grey">Full path of user-defined index class and must be a 
subclass of HoodieIndex class. It will take precedence over the 
`hoodie.index.type` configuration if specified</span>
+
 #### withIndexType(indexType = BLOOM) {#withIndexType}
 Property: `hoodie.index.type` <br/>
 <span style="color:grey">Type of index to use. Default is Bloom filter. 
Possible options are [BLOOM | HBASE | INMEMORY]. Bloom filters removes the 
dependency on a external system and is stored in the footer of the Parquet Data 
Files</span>

Reply via email to