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
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
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.