mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 07:23:43 +01:00
Fix wrong math function used in search query (#19481)
This commit is contained in:
parent
52ebfb7792
commit
f6bcf86caf
1 changed files with 1 additions and 1 deletions
|
@ -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)",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue