Multi-search with rescore

Hi Everyone,

Is it possible to include rescores in a multi-search API call? I have not found any examples of this in the docs or elsewhere, and my attempts to piece it together on my own have been fruitless.

Thanks in advance,
Eugene

The answer is "yes". Here's how:

curl http://localhost:9200/my_index/_msearch --header 'Content-Type: 
application/x-ndjson' -d '
{}
{"query": { ... }, "rescore": { ... }}
'

Not sure how I missed that... /me tries harder :stuck_out_tongue:

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