mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
Updated Sync ES (markdown)
10
Sync-ES.md
10
Sync-ES.md
@@ -213,6 +213,16 @@ left join (select user_id, group_concat(label order by id desc separator ';') as
|
|||||||
objFields:
|
objFields:
|
||||||
labels: array:;
|
labels: array:;
|
||||||
```
|
```
|
||||||
|
- 对象字段
|
||||||
|
```
|
||||||
|
select a.id as _id, a.name, a.role_id, c.labels, a.c_time, a.description from user a
|
||||||
|
```
|
||||||
|
配置中使用:
|
||||||
|
```
|
||||||
|
objFields:
|
||||||
|
description: object
|
||||||
|
```
|
||||||
|
其中a.description字段内容为json字符串
|
||||||
- 父子文档索引
|
- 父子文档索引
|
||||||
|
|
||||||
es/customer.yml
|
es/customer.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user