Hi,
I am planning to map a relational table which has parent and child relationship into Elastic index.
SQL table Structure:
pk_id | parent_id | child_id |
100 | 1 | 2 |
101 | 2 | 3 |
102 | 3 | 4 |
103 | 5 | 6 |
104 | 6 | 7 |
What I understand from Join type in Elastic is, we need to create separate documents for parent and child and then relate them using join type. But even if I try to convert above table into linear data, I am not aware of how many exact children a parent can possess, in above example we have two relationship chains: 1-2-3-4 and 5-6-7..
Can you please suggest how this can be implemented in Elastic ?