Vega & search templates

Is it possible to use search templates in Vega? E.g.

GET index/_search/template
  "id": "searchTemplate",
  "params": {
    "word": "search terms",
    "from": 0,
    "size": 10

I couldn't find examples how to parametrize the url block in Vega.

I was not able to use search templates in Vega :frowning:
One possibility was to use url: { %type%: url ... }, but the request gets sent as GET, whereas search templates requests must be sent as POST.
There is a similar feature request (for POST support):, but it's not clear, when it will be implemented.
Does it make sense to open another feature request for supporting search templates when using %type%: elasticsearch requests?

cc @nyuriks any leads here?

fyi: an enhancement request has been created: #59870

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.