elasticsearch/elasticsearch — pull request #5775 by martijnvg (2014-04-11 10:35:18+00:00)
Title: Replace InternalSearchResponse#EMPTY with InternalSearchResponse#empty()

Each search request should use a new InternalSearchResponse instance even in case when all shards return no hits. The InternalSearchResponse may get modified afterwards, so a new instance required at all times.