Can we use Significant Terms Aggregation with parent-child structure

Hello,
I am following this eg => https://opensourceconnections.com/blog/2016/09/09/better-recsys-elasticsearch/.
But Instead of using array(as shown in the example) I want to create Parent-child structure for user-video model.
I tried few things but not getting expected output.
So my question is, can we use Significant Terms Aggregation with parent-child structure?
Thanks in advance!

No, joins like that won’t work with significant_terms. You need the related terms in the same doc.

ok thanks for ur reply!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.