Unverified Commit f6bcf86c authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix wrong math function used in search query (#19481)

parent 52ebfb77
Showing with 1 addition and 1 deletion
+1 -1
......@@ -115,7 +115,7 @@ class AccountSearchService < BaseService
{
script_score: {
script: {
source: "log2p(Math.max(doc['followers_count'].value, 0))",
source: "Math.log10(Math.max(doc['followers_count'].value, 0) + 2)",
},
},
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment