【发布时间】:2016-08-09 14:30:17
【问题描述】:
我正在尝试使用 elasticsearch 索引 mysql 数据库。考虑示例映射:
{"blog":
{"properties":
{"id": "string"}
{"author": "string"}
{"time_created": }
{"author_info":
{"author_name":}
{"author_sex":}
}
{"posts":
{"post_author":}
{"post_time":}
}
}
}
我有三个表,它们是 author_info、blog 和 post。如何将这些记录索引到具有嵌套结构的弹性中?我找不到有关它的文件。谢谢
【问题讨论】:
-
杨锐,你解决了吗?我遇到了同样的问题,我无法将嵌套的 mysql 数据放入具有与您的结构非常相似的 elasticsearch 中。谢谢。
标签: mysql elasticsearch logstash