elasticsearch/elasticsearch — pull request #2140 by gustavobbamaia (2012-08-04 19:02:05+00:00)
Title: Problem Parents & Children

I had one small problem when doing a search using TopChildrenQuery and realized that when I have more than 51 children to the same document, my search has not returned any results. Digging deeper I found comparison what might be wrong in class QueryPhase.

I posted a code to simulate this problem in gist.

https://gist.github.com/3140681