Registered Search Templates in multi search API (_msearch)

Hi,

Is it possible to use registered search templates in a multi search api
(_msearch) request?
If so, how?

I tried giving the following query in a body.

{"template":{"id":"template_1"},"params":{"a":1, "b":2}}

But that leads to the error:
Parse Failure [No parser for element [template]]

I tried wrapping everything in a query and POSTing to _msearch/template,
but these don't work either.

Thanks in advance
Dany

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1f01e1cc-d6a4-4086-94d5-3961ee731da1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.