Hey,

I was wondering if there is a way to execute search template queries in 
bulk.

For eg, I have couple of search templates registered in .scripts index. I 
want to run a bulk search template using these templates and different set 
of parameters for each search in bulk.

Example query could be:

cat requests
{}
{ "template": { "id": "tempalte1" },"params": { "title": "burger" } }
{}
{ "template": { "id": "tempalte2" },"params": { "title": "pizza" } }

GET /blogs/post/_msearch/template --data-binary @requests; echo

Is a similar thing possible/planned?

Cheers,
Viranch

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/8d56cffc-65b6-41db-bf34-cd2ad2205e30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to