It's not possible to go through the children of 20,000 parents, eh? Might
you know what the upper limit is, or is it completely dependent upon the
resources that're allocated to ES?
My use case involves products and sales, where Product is the parent, and
Sale is the child. Each product can have zero or more copies for sale. I'm
trying to query for all sales whose parent matches various criteria.
Since the ratio of products-to-sales is way beyond 1:1, it'd be very
inefficient to store product fields in each sale.
Thanks for your continued advice, Vineeth. I really appreciate it.
On Wednesday, 4 July 2012 13:56:12 UTC-4, Vineeth Mohan wrote:
Instances where 20,000 documents matches and going tru the children is not
actually possible or a good idea.
I am afraid there is not an alternative at the moment.
We also have a similar situation but then on our search result , each
search result was the parent document and on request we would show matching
Between if you want to have result based on your children and not parent ,
what is the point in creating parent/child relation ?