My mapping is done so every parent have one or more children.
The trick is to query the childrens and when a hit is found - do the same query against the parent and then boost the result with the score from the parent.
Can this be done in one taks or do I have to make this logic in my application?