Some help for a beginner to structuring his data for elasticsearch

Unsure but may be using nested type could help?

I'm sorry I can't really help more. May be create a full example as a script like here would help?