-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boosting by popularity, or script_score in elasticsearch query #487
Comments
I solved the problem by using the "customQuery" field. Below is my code.
|
We can also support this at the library level. Instead of a
As @dioscuroi shared in the above example, a user can always override this behavior by specifying a customQuery, but this gives a very quick way to add custom popularity (and allows to support the popularity use-case via a GUI in Dejavu, appbase.io dashboard, etc.) |
Yes, it will be awesome if popularity is supported at the library level. Thank you for adding it to the milestone. Please keep me updated when it is done! 😁 |
Is this actually implemented?
|
Issue Type:
enhancement
Platform:
Web
Description:
Is there a way to use the "script_score" feature in the elasticsearch query to boost search results by popularity? The reference can be found here. Thanks!
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#function-script-score
Reactivesearch version: 2.7.0
The text was updated successfully, but these errors were encountered: