reactivesearch
reactivesearch copied to clipboard
Add support for "rescore" query in SSR.
Affected Projects React
Is your feature request related to a problem? Please describe.
Elasticsearch supports rescore query, that allows us to re-rank results based on some function. Machine Learning models use this rescore query to re-rank results based on the business logic. It works on client side but not with SSR.
For reference - https://www.elastic.co/guide/en/elasticsearch/reference/6.8/search-request-rescore.html
Describe the solution you'd like
A possible solution would be adding support for the rescore query in the defaultQuery function of ReactiveList component.