elasticsearch/elasticsearch — pull request #5731 by s1monw (2014-04-08 12:27:54+00:00)
Title: Fix P/C assertions for rewrite reader

Inner queries must be rewritten as soon as a weight is pulled ie. must
be non-null.