Hi,
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].
Thanks,
Philippe
[1] https://gist.github.com/plaflamme/3ec53a6ae6a5f6896066
--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.