Re: Matching parent docs when two child docs match different criteria
Thank you! That is interesting. But I think I failed to fully outline the requirements I have, since I can still contrive an example where this might not work. If I changed the document as follows: { "id":"3", "_level_":0, "_version_":1591607734461005824, "_childDoc
Matching parent docs when two child docs match different criteria
Hello. As a toy example, let's assume I have documents that looks like this: { "id": "1", "_childDocuments_": [ { "id": "1_2", "_path_": "p.1", "size": "M", "color": "red" }, { "id": "23lk4d23lkj", "_path_": "p.2", "si