elasticsearch/elasticsearch — pull request #1843 by nlalevee (2012-04-04 14:23:08+00:00)
Title: Stop iterating on sub readers it the parent is found in TopChildrenQuery

There are some comment saying "we found a match, add it and break", but there's no actual break.

In the suggested patch, it rewrote the loop to make the loop ending more explicit. I could have just added a "break", but I don't like much "break". Well, actually the main reason is this patch avoid too much diff with fetch-children branch :).