【发布时间】:2020-09-17 22:12:12
【问题描述】:
我需要一些有关弹性搜索的帮助 我想加入两件事,第一件事的架构看起来像
统计组
{
"_id": 38282922829,
"statValues": [{
_ref: 282828290,
}]
}
统计数据
{
"_id": 282828290,
"key": itemsGained
}
如您所见,我想将 statvalues 中的所有 ref 与 stat 数据的 id 连接起来。我该怎么做?
【问题讨论】:
标签: mongodb elasticsearch elastic-stack elasticsearch-5