Scoring from multiple queries


We have an index with 2 types, one being the child of another. The child
document contains derived data from the parent document, so there's only
one child per parent. The reason why we do this is because the data in the
child can change even when the parent doesn't actually change (ie: the
child document data is derived from multiple documents in the parent type).
We could put the data in the parent document, but that requires updating
them which we'd like to avoid.

We'd like to score parents based some queries to them, but more
importantly, using values in its child document in a custom_score query.
Here's what I'd like to achieve[1].


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit