I'm using Elasticsearch 5.3
Will it cause any issues if a child document is indexed before its parent?
I've come against a situation where its messy to guarantee that the parent already exists. If the parent doesn't exist, it will most likely be coming in the next bulk insert.
https://www.elastic.co/guide/en/elasticsearch/reference/5.6/mapping-parent-field.html#_parent_child_restrictions doesn't seem to warn against indexing children first, and I don't see any errors when I try it out.
I'm just worried that the parent might end up on a different shard.
Can anyone shed light on this concern?
Thank you so much!