elasticsearch/elasticsearch — pull request #6723 by s1monw (2014-07-04 08:53:52+00:00)
Title: [Query] QueryParser can return null from a query

This causes a NPE since XContentStructure checks if the query is null
and takes this as the condition to parse from the byte source which is
actually null in that case.

Closes #6722