elasticsearch/elasticsearch — pull request #6326 by s1monw (2014-05-28 10:23:15+00:00)
Title: Mustache: Ensure internal scope extrators are always operating on a Map

Mustache extracts the key/value pairs for parameter substitution from
objects and maps but it's decided on the first execution. We need to
make sure if the params are null we pass an empty map to ensure we
bind the map based extractor

Closes #6318