Term Stats facet with key_field of parent document

Is there way to create term_stats facet such that key_field is a parent
document field?

I previously had a parent copied into each child doc. But i am wondering if
this could be avoided using parent child relation?

--
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.