elasticsearch/elasticsearch — pull request #8236 by s1monw (2014-10-27 11:51:43+00:00)
Title: [SORT] Use first non-empty result to detect if sort is required

Closes #8226