https://www.elastic.co/blog/index-vs-type
What is a type?
Fields need to be consistent across types. For instance if two fields have the same name in different types of the same index, they need to be of the same field type (string, date, etc.) and have the same configuration.
And "Which one should I use"
Do your documents have similar mappings? If no, use different indices.
But still, in https://www.elastic.co/guide/en/elasticsearch/guide/current/parent-child.html it mentions that we need to place parent child documents in same index. But how often does parent-child have similar mappings? And
What i'm trying to investigate is if I should put my 2 different documents in the same index, so I can do parent-child search.
But what I do understand from the index vs type is that documents with different schemas should actually be placed in different indices, but how would then parent-child relationship work?