Get children count using has_child query

Hi,

Is it possible to easily get the children count when performing a has_child
query? I am using elasticsearch 1.2.1
In elasticsearch 1.3 I noticed min/max children. Does this mean that
elasticsearch 1.3 would expose the child count?

Thanks!

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e5383b11-90f8-4745-967b-983cadfcc76e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hey

min/max_children is part of the query to define how many children a
matching parent document may have, but it is not exposed. A possible
solution would be to execute a count query with a has_parent on the matched
parent.

--Alex

On Tue, Jul 29, 2014 at 4:20 AM, Maxime Nay maximenay@gmail.com wrote:

Hi,

Is it possible to easily get the children count when performing a
has_child query? I am using elasticsearch 1.2.1
In elasticsearch 1.3 I noticed min/max children. Does this mean that
elasticsearch 1.3 would expose the child count?

Thanks!

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/e5383b11-90f8-4745-967b-983cadfcc76e%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/e5383b11-90f8-4745-967b-983cadfcc76e%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM--nVyRiMdaG2ysr-o%3D37exjU%3DSq0E3yxZrZQb%2Bud%2B_%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.