Closed
Description
Is your feature request related to a problem? Please describe
I would be great if we can specify in a multisearch template request the search pipeline to execute as in msearch:
GET /_msearch
{ "index": "test"}
{ "query": { "match_all": {} }, "from": 0, "size": 10, "search_pipeline": "my_pipeline"}
{ "index": "test-1", "search_type": "dfs_query_then_fetch"}
{ "query": { "match_all": {} }, "search_pipeline": "my_pipeline1" }
Describe the solution you'd like
Would be the same idea as msearch
, so a multisearch template request using search pipelines would look like this:
GET _msearch/template
{"index":"shakespeare"}
{"id":"line_search_template","params":{"text_entry":"All the world's a stage","limit":false,"size":2}, "search_pipeline": "my_pipeline2"}
{"index":"shakespeare"}
{"id":"play_search_template","params":{"play_name":"Henry IV"}, "search_pipeline": "my_pipeline1"}
Related component
Search:Query Capabilities
Describe alternatives you've considered
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done