Nested docs share the same _id which is enough unless _routing is involved and / or the index is partitioned. We need to find a good way to respect nested docs when we select the docs that should be deleted. We can either do this at runtime (when we split) or we also index / store the _routing value from the parent.
@jpountz WDYT
Nested docs share the same
_idwhich is enough unless_routingis involved and / or the index is partitioned. We need to find a good way to respect nested docs when we select the docs that should be deleted. We can either do this at runtime (when we split) or we also index / store the_routingvalue from the parent.@jpountz WDYT