elasticsearch/elasticsearch — pull request #8255 by reuben-sutton (2014-10-28 14:27:40+00:00)
Title: Make template params take arrays

Currently the templateParams in SearchRequest is a Map - this means that it could not take Arrays as part of the parameters, which is not the case when accessing it through the REST api, and also as documented in the docs for this feature.

This changes it to Map so that it can take more complex data-types.