I am new to Elasticsearch, and there seems to be some really good features in this tool
I have explored it for a few days, and I am currently trying to decide which model type would be preferable. I made a small example of the type of data I am working with. It is not exactly what I am working with, but close to it
Using this model as an example, I will be required to do queries like
find questions by text,
find answers by text,
find comments by text and
get all questions that have comments. So you see, my problem is that I don't really know how I could organise my data in Elasticsearch so that all those queries would be efficient.
Would it be better to use a nested object model or a parent/child model ?
Thank you for your help and have a great day !